Difference between revisions of "Python ve"
From John Freier
(Created page with "Python Virtual Environments A python virtual environment is a way of setting up a python project in a environment sandbox. Create the environment python3 -m venv env Acti...") |
(No difference)
|
Latest revision as of 08:08, 3 June 2022
Python Virtual Environments
A python virtual environment is a way of setting up a python project in a environment sandbox.
Create the environment
python3 -m venv env
Activate the environment
source ./env/bin/activate
Deactivate the environment
./deactivate