[issue44286] venv activate script would be good to show failure.

Vinay Sajip report at bugs.python.org
Thu Jun 3 09:03:10 EDT 2021


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

venvs aren't meant to be portable (i.e. renaming the directory or moving to a new location). Scripts installed into a venv have absolute paths pointing to the location when the venv was created.

venvs should be treated as throwaway resources that can be readily recreated - so if you need a venv in a new location, just create it there and install the desired packages again.

----------

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


More information about the Python-bugs-list mailing list