how to make a python environment code example
Example 1: creating virtual environment python
python3 -m venv tutorial-env
tutorial-env\Scripts\activate
deactivate
Example 2: python create virtualenv
pip install virtualenv
cd projectfolder
python -m venv ./venv
Activate.ps1
activate.bat
Example 3: how to create a virtual environment in python
source env/bin/activate
Example 4: how to activate venv python
(tutorial-env) $ python -m pip install -r requirements.txt
Collecting novas==3.1.1.3 (from -r requirements.txt (line 1))
...
Collecting numpy==1.9.2 (from -r requirements.txt (line 2))
...
Collecting requests==2.7.0 (from -r requirements.txt (line 3))
...
Installing collected packages: novas, numpy, requests
Running setup.py install for novas
Successfully installed novas-3.1.1.3 numpy-1.9.2 requests-2.7.0