[New-bugs-announce] [issue44286] venv activate script would be good to show failure.

john kim report at bugs.python.org
Wed Jun 2 10:03:06 EDT 2021


New submission from john kim <idle947 at gmail.com>:

I changed the path of the project using venv, so it didn't work properly.

I thought it worked successfully because there was a (venv) on the terminal line.

However, the __VENV_DIR__ in the 

set "VIRTUAL_ENV=__VENV_DIR__" 

in the activate script did not work properly because it was the PATH before the replacement.

How about adding a procedure to verify the __VENV_DIR__ is a valid PATH to the Activate Script?

----------
components: Library (Lib)
messages: 394909
nosy: idle947
priority: normal
severity: normal
status: open
title: venv activate script would be good to show failure.
type: enhancement
versions: Python 3.7

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


More information about the New-bugs-announce mailing list