Python Virtual Environment16 Apr 2017
Python Virtual Environment helps to create isolated Python Environment. Different projects might require different version of python and packages that are not part of standard python library. Using virtual environment, solves this issue.
Creating Virtual Environment
python3 -m venv art-env
Activating Virtual Environment
Basically what this command is doing is using the local, clean install of Python in your virtual environment to run your commands.
python -m pip install requests
Get Back out of the Environment
Saving your Modules
pip freeze > requirements.txt
pip install -r requirements.txt