Message355333
When creating a virtual environment on Windows from git-bash (using python -m venv), VIRTUAL_ENV in the activate script is set using a windows style path (C:\some\path) instead of the bash style (/c/some/path).
This means the system python and pip get used, despite the user thinking they are working in a venv after sourcing activate.
As activate is a bash script, the paths in it should always be in the bash style, regardless of platform.
This is described in a stack overflow issue here: https://stackoverflow.com/questions/57758841/windows-virtualenv-created-via-gitbash-using-system-python
I have confirmed the behaviour in 3.7.3, 3.7.4, 3.7.5 and 3.8.0. |
|
Date |
User |
Action |
Args |
2019-10-24 14:32:03 | Mo | set | recipients:
+ Mo, paul.moore, tim.golden, zach.ware, steve.dower |
2019-10-24 14:32:03 | Mo | set | messageid: <1571927523.33.0.935819222823.issue38583@roundup.psfhosted.org> |
2019-10-24 14:32:03 | Mo | link | issue38583 messages |
2019-10-24 14:32:02 | Mo | create | |
|