Python ve

From John Freier
Revision as of 09:08, 3 June 2022 by Jfreier (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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