This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author uranusjr
Recipients paul.moore, steve.dower, tim.golden, uranusjr, zach.ware
Date 2019-11-24.08:17:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574583460.3.0.94905817038.issue38905@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-11-24 08:17:40uranusjrsetrecipients: + uranusjr, paul.moore, tim.golden, zach.ware, steve.dower
2019-11-24 08:17:40uranusjrsetmessageid: <1574583460.3.0.94905817038.issue38905@roundup.psfhosted.org>
2019-11-24 08:17:40uranusjrlinkissue38905 messages
2019-11-24 08:17:39uranusjrcreate