12

As of python 3.3 the stdlib has the venv module for creating virtual environments. Are python 3.x venv environments relocatable?

olokki
  • 1,017
  • 1
  • 10
  • 25
  • Pretty much a duplicate of [python - Renaming a virtualenv folder without breaking it - Stack Overflow](https://stackoverflow.com/questions/6628476/renaming-a-virtualenv-folder-without-breaking-it) ? – user202729 Feb 12 '21 at 14:42
  • 1
    @user202729 virtualenv package and the python3 venv package are not the same and as such this question stands on its own – olokki Mar 03 '21 at 07:02

1 Answers1

5

Nope, commands installed in ./bin have fixed paths in shabang lines.

RobertT
  • 4,300
  • 3
  • 29
  • 36
  • so it's portable if you don't care about `./bin` (the only thing you should be calling from that in the first place is `python3` anyhow) – cowbert Oct 09 '18 at 20:33