1python3 -m venv env
2python -m virtualenv env #py2
3
4source env/bin/activate
5
6#all this is on same directory
7
1# for windows 10
2
3py -m venv myvirtualenv
4myvirtualenv\Scripts\activate #!!!! use "\" not "/" !!!!!
1python3 -m venv tutorial-env
2#name : tutorial-env
3tutorial-env\Scripts\activate #activate env
4deactivate #deactivate env
1(tutorial-env) $ python -m pip install -r requirements.txt
2Collecting novas==3.1.1.3 (from -r requirements.txt (line 1))
3 ...
4Collecting numpy==1.9.2 (from -r requirements.txt (line 2))
5 ...
6Collecting requests==2.7.0 (from -r requirements.txt (line 3))
7 ...
8Installing collected packages: novas, numpy, requests
9 Running setup.py install for novas
10Successfully installed novas-3.1.1.3 numpy-1.9.2 requests-2.7.0
11