New submission from adore_blvnk <josephpoo...@gmail.com>:
This is relating to activation of venvs. This was first discovered in VS Code, but can be replicated in Windows CMD & PyCharm too. Normally, creating a virtual environment via py -m venv venv would create the venv. Next would be the activation of the venv, example: "c:/Users/normal/venv/Scripts/activate.bat" This activates the venv, & using a pip command would install the respective packages in the "site-packages" folder in the venv. HOWEVER, creating a NEW folder "c:/Users/is & allowed", creating the venv, & attempting to activate it as follows: "c:/Users/is & allowed/venv/Scripts/activate.bat" Will throw an error: The system cannot find the path specified. Do note that in the 2nd attempt, the presence of character "&" will throw the error. ---------- components: Windows messages: 398179 nosy: adore_blvnk, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Failed venv Activation With "&" In Folder Name type: behavior versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44735> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com