Starting a Virtual environment in python: Difference between revisions
From Cramsession
Jump to navigationJump to search
✍️ Verified Author: Mflavell • Click to view professional profile & credentials
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
python3 -m venv webdesk | python3 -m venv webdesk | ||
source webdesk/bin/activate | source webdesk/bin/activate | ||
cd to folder | cd to folder | ||
pip install -r requirements.txt | pip install -r requirements.txt | ||
python3 ''app'' | python3 ''app'' | ||
when done | |||
deactivate ''app'' | |||
Latest revision as of 01:45, 12 November 2025
Computer Notes > Python > Starting a Virtual environment in python
python3 -m venv webdesk source webdesk/bin/activate cd to folder pip install -r requirements.txt python3 app
when done
deactivate app