Clone a python virtualenv

  |   Source

Working offline (no internet), create a new virtualenv based on an existing virtualenv:

mkvirtualenv (and virtualenv) are installed

pip install virtualenv-clone

Then, to create a new virtualenv:

virtualenv-clone /path/old-virtualenv /path/new-virtualenv

Use workon to activate the new virtualenv
Create a directory for the new project and cd into that directory.

Comments powered by Disqus