Difference between revisions of "Python ve"

From John Freier
Jump to: navigation, search
(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 09: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