Eryk Sun <eryk...@gmail.com> added the comment:

Try using symlinks if you're allowed, e.g. `python -m venv --symlinks <name>`.

Note that a virtual environment created with symlinks is unreliable in some 
cases because ShellExecute[Ex]W() eagerly resolves a symlink before calling 
CreateProcessW().

Also, you won't be able to use EXE script wrappers in an active environment due 
to the security restrictions in place on your system. You'll need to use 
`python -m <module>` alternative commands, such as `python -m pip` instead of 
`pip`.

----------
components:  -Windows
nosy: +eryksun

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46056>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to