-
Notifications
You must be signed in to change notification settings - Fork 0
Python Environments
jfuruness edited this page Nov 19, 2020
·
1 revision
Python environments allow you to keep multiple environments in parallel for all your python dependencies. Note that if you are on a machine with SELinux you probably need it.
To install (after installing python version 3.8)
sudo apt-get install python3-pip
python3.8 -m pip3 install virtualenv
Once you have virtualenv installed, run
python3.8 -m venv env
source ./env/bin/activate
Now you have activated your environment. To deactivate it, run:
deactivate