...
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Note that HOME is not a good choice for storing Python packages since 1) it is not designed for parallel use, 2) will very likely lead to quota issues (HOME is limited to 5GB), and 3) causes unnecessary backups of reproducible data. |
...
Changing global install location
Pip
Without intervention, and if your’e not using local environments, pip install -U <package>
will install packages into $HOME/.local
, which is discouraged for the reasons above. To change the default install location, we recommend to put something like the following into your .bashrc
:
Code Block |
---|
export PYTHONUSERBASE=/scratch/<group>/<username>/.local |
Conda
...
By default, conda installs will install package data and environments into $HOME/.conda
. This should be avoided for the reasons mentioned above. To change this default, execute the following commands, which will set the corresponding paths in your $HOME/.condarc
:
...