virtual environment setup To update requirements.txt (with virtualenv activated): pip freeze > ./dependencies.txt to restore a new virtualenv from the requirements pip install -r requirements.txt' instal package to a particular python python -m pip install SomePackage