You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I mainly develop for linux on a windows so all my scripts start with #!/usr/bin/env python3
I created a precommit hack for git and it fails on the shebang python3 not found This is the first ever I've seen
the shebang being used on windows. So I discovered it was not there :-)
We have lots of legacy system with legacy python pointing to old version2 python, and -m venv creates a python3 softlink on linux
So it would be nice if they where the same.
I see I do not have a python3.exe under windows main python either, but how can we assure same file will run same binary
Environment
Provide at least:
OS: windows11
pip list of the host python where virtualenv is installed:
pip listPackage Version------- -------pip 24.2
Output of the virtual environment creation
Make sure to run the creation with -vvv --with-traceback:
Issue
I mainly develop for linux on a windows so all my scripts start with
#!/usr/bin/env python3
I created a precommit hack for git and it fails on the shebang
python3 not found
This is the first ever I've seenthe shebang being used on windows. So I discovered it was not there :-)
We have lots of legacy system with legacy python pointing to old version2 python, and -m venv creates a python3 softlink on linux
So it would be nice if they where the same.
I see I do not have a python3.exe under windows main python either, but how can we assure same file will run same binary
Environment
Provide at least:
pip list
of the host python wherevirtualenv
is installed:Output of the virtual environment creation
Make sure to run the creation with
-vvv --with-traceback
:workaround
I just checked 3.12.6 venv on ubuntu 22.04 and it has python3:
The text was updated successfully, but these errors were encountered: