Python venv

From Bitnami MediaWiki
Revision as of 17:10, 29 November 2022 by 98.152.106.150 (talk) (Created page with "Establish a new virtual environment: python -m venv venv Next, activate it: source venv/bin/activate You should see the new prompt indicating you're inside the virtual envi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Establish a new virtual environment:

python -m venv venv

Next, activate it:

source venv/bin/activate

You should see the new prompt indicating you're inside the virtual environment:

(venv) $