[issue44540] venv: activate.bat fails for venv with special characters in PATH

2021-12-08 Thread Eryk Sun
Change by Eryk Sun : Added file: https://bugs.python.org/file50484/deactivate.bat ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue44540] venv: activate.bat fails for venv with special characters in PATH

2021-12-08 Thread Eryk Sun
Eryk Sun added the comment: There's no parsing problem with delayed expansion (e.g. "!VAR!" instead of %VAR%) and for loop variables (e.g. "%%a"). The solution is thus to execute in a local scope that enables delayed expansion and command extensions [1]. That's easy enough, but then there's

[issue44540] venv: activate.bat fails for venv with special characters in PATH

2021-12-04 Thread Eryk Sun
Change by Eryk Sun : -- stage: -> needs patch versions: +Python 3.10, Python 3.11 ___ Python tracker ___ ___ Python-bugs-list maili

[issue44540] venv: activate.bat fails for venv with special characters in PATH

2021-06-30 Thread MB113
New submission from MB113 : If your virtual env Scripts folder is in a path with a special character (for batch-scripts) it will give this error: The system cannot find the path specified. In my case it was a '&' in my path. Now I see that the fix from specifically this issue: https://bug