Create venv: Difference between revisions

From DISI
Jump to navigation Jump to search
(shoulda had this a long time ago)
 
m (asdf)
 
Line 1: Line 1:
Here is how to create a python venv
Here is how to create a python venv


conda create -n jjivenv python=3.11
* this is the old method
* bash
* bash
* source /nfs/soft/ian/env.sh
* source /nfs/soft/ian/env.sh

Latest revision as of 21:13, 13 June 2025

Here is how to create a python venv

conda create -n jjivenv python=3.11

  • this is the old method
  • 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