activate venv python scripts activate code example
Example 1: activate venv
source env/bin/activate
Example 2: activate venv in python
(tutorial-env) $ pip freeze > requirements.txt
(tutorial-env) $ cat requirements.txt
novas==3.1.1.3
numpy==1.9.2
requests==2.7.0