Python/venv

From Wiki
< Python
Revision as of 21:10, 4 March 2021 by Marcluer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • setup environment
python3 -m venv env
  • activate environment
source env/bin/activate
  • check which environment is used
which python
  • install requirements into venv
pip install -r requirements.txt