Python Virtual Environment¶
Installing virtualenv¶
python3 -m pip install --user virtualenv
Creating a virtual environment¶
python3 -m venv env
Activating a virtual environment¶
source env/bin/activate
Leaving the virtual environment¶
deactivate
Installing packages¶
python3 -m pip install requests
https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/