Create venv

From DISI
Revision as of 21:04, 22 February 2024 by Frodo (talk | contribs) (shoulda had this a long time ago)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Here is how to create a python venv

  • bash
  • source /nfs/soft/ian/env.sh
  • python -V to make sure you are on 3.8 or better
  • python -m venv myvenv
  • source myvenv/bin/activate