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 eric.smith
Recipients eric.smith, eryksun, paul.moore, steve.dower, tim.golden, uranusjr, zach.ware
Date 2019-11-25.00:35:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574642155.33.0.671802720441.issue38905@roundup.psfhosted.org>
In-reply-to
Content
Your failing test case with 3.7 works for me.

If you don't use activate.bat, but just run the venv's python directly, what do you see? I get:

>py -m venv fooenv

>fooenv\Scripts\python -V
Python 3.7.0

>fooenv\Scripts\python -q
>>> import subprocess
>>> subprocess.check_output(['python', '-c', 'import sys; print(sys.executable)'])
b'C:\\Users\\XXXXXXX\\fooenv\\Scripts\\python.exe\r\n'

What shell are you using? Above is with cmd.exe.

If you "echo %PATH%" after activate.bat, what do you see?

Before running activate.bat, do you have a python.exe in your path? If so, is it the one that subprocess is reporting?
History
Date User Action Args
2019-11-25 00:35:55eric.smithsetrecipients: + eric.smith, paul.moore, tim.golden, zach.ware, eryksun, steve.dower, uranusjr
2019-11-25 00:35:55eric.smithsetmessageid: <1574642155.33.0.671802720441.issue38905@roundup.psfhosted.org>
2019-11-25 00:35:55eric.smithlinkissue38905 messages
2019-11-25 00:35:55eric.smithcreate