Jupyterhub environement
The environment inside the jupyterhub is managed by conda. Here is an example of how to create a new conda environment and install the required packages:
# Create a new conda environment
conda create -n myenv python=3.8
conda activate myenv
pip install packege1 packege2
After installing the required packages, you can add the new conda environment to the jupyter Kernel. Here is an example of how to create a new kernel: