Pangeo Environment Modelserver
Introduction
A python environment is provided on modelserver so that everyone can work with the same packages. This environment is the pangeo
environment visible inside jupyterhub.
Adding packages
This will changes packages system wide and not just for your user please bear in mind other people are using the system and updating all packages can break things.
To add packages to the environment you need to:
- Login as root
sudo su root
and provide your password (contact sysadmin to become root on the machine) - Run
. /etc/profile.d/conda.sh
(yeah this is annoying but we need to add the conda shell scripts) - Run
conda activate python
the name of the “pangeo” kernel is actuallypython
- Run your commands eg.
pip install ...
orconda install ...
ormamba install ...
(mamba = conda but quicker)