Message357392
To reproduce:
> py -m venv fooenv
> fooenv\Scripts\activate.bat
(fooenv) > python -c "import sys; print(sys.executable)" % This is correct
C:\Users\uranusjr\Downloads\venvtest\Scripts\python.exe
(fooenv) > python -q
>>> import subprocess
>>> subprocess.check_output(['python', '-c', 'import sys; print(sys.executable)'])
b'C:\\Users\\uranusjr\\AppData\\Local\\Programs\\Python\\Python37\\python.exe\r\n'
The output shows the base interpreter, not the interpreter in venv. Not sure whether this is a venv or subprocess problem. |
|
Date |
User |
Action |
Args |
2019-11-24 08:17:40 | uranusjr | set | recipients:
+ uranusjr, paul.moore, tim.golden, zach.ware, steve.dower |
2019-11-24 08:17:40 | uranusjr | set | messageid: <1574583460.3.0.94905817038.issue38905@roundup.psfhosted.org> |
2019-11-24 08:17:40 | uranusjr | link | issue38905 messages |
2019-11-24 08:17:39 | uranusjr | create | |
|