Message357421
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? |
|
Date |
User |
Action |
Args |
2019-11-25 00:35:55 | eric.smith | set | recipients:
+ eric.smith, paul.moore, tim.golden, zach.ware, eryksun, steve.dower, uranusjr |
2019-11-25 00:35:55 | eric.smith | set | messageid: <1574642155.33.0.671802720441.issue38905@roundup.psfhosted.org> |
2019-11-25 00:35:55 | eric.smith | link | issue38905 messages |
2019-11-25 00:35:55 | eric.smith | create | |
|