[New-bugs-announce] [issue44540] venv: activate.bat fails for venv with special characters in PATH

MB113 report at bugs.python.org
Wed Jun 30 08:44:01 EDT 2021


New submission from MB113 <m.brockbernd at ziggo.nl>:

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://bugs.python.org/issue36634 has caused my problems.

So in the end neither works.
set "VIRTUAL_ENV=__VENV_DIR__" doesn't work with quotes
set VIRTUAL_ENV=__VENV_DIR__  doesn't work with 'special chars' (&*)

----------
components: Library (Lib), Windows
messages: 396776
nosy: MB113, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: venv: activate.bat fails for venv with special characters in PATH
type: behavior
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44540>
_______________________________________


More information about the New-bugs-announce mailing list