#no activate script in python venv
1 messages · Page 1 of 1 (latest)
msys2/mingw python uses the unix convention, so its in bin/activate (Scripts/activateis for official/msvc python)
There is an open issue about supporting both though
bin/activate is for Bash and I don't use Bash. I can't use Activate.ps1 either because I used cmd. Also VScode probably expects Scripts/activate on Windows to automatically enable the virtual environment.
Where can I find the issue? This should be fixed.
the contents of bin and Scripts are the same, u can find bash, batch, and powershell scripts in there, its just the folder names are different
if i had to guess, bin for unix convention, but when they ported to windows it might sound unfamiliar to windows users
ah oops, never mind yeah there is no batch in bin
A quick fix is to copy activate.bat and deactivate.bat from git repo to C:\msys64\ucrt64\lib\python3.12\venv\scripts\nt. The installation step in PKGBUILD should be fixed. Do I need to create PR? I would rather if someone familiar with Python did it.