Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
which python

pip # command not found

# load module

ml lang

ml Python/3.9.5

which python

which pip

# note that the default path for global packages etc. is $HOME/.local/lib/python<ver>/site-packages

# to change it we can put the following into our .bashrc

#   export PYTHONUSERBASE=/scratch/<group>/<username>/.local

export PYTHONUSERBASE=/scratch/pc2-mitarbeiter/bauerc/.local

# you might also want to add

export PATH=/scratch/pc2-mitarbeiter/bauerc/.local/bin:$PATH

pip install numpy

ls /scratch/pc2-mitarbeiter/bauerc/lib/python3.9/site-packages

...