...
You may also add those and other frequently accessed places to your favourites:
...
Leveraging the ECMWF software stack: using modules
Note | ||
---|---|---|
| ||
Make sure you load the necessary modules BEFORE starting your kernels so they have the right environment. Loading modules after will not have any effect on existing kernels. |
...
Multimedia | ||||||||
---|---|---|---|---|---|---|---|---|
|
Using your own environments
To use your own conda environment as a kernel for Jupyter notebook you will need to have ipykernel installed in the conda environment before starting your Jupyter instance. ipykernel can be installed with:
No Format |
---|
conda activate myCondaEnv
conda install ipykernel
python3 -m ipykernel install --user --name=myCondaEnv |
If you want to make your own Python virtual environment visible in Jupyterlab, the steps are similar:
No Format |
---|
source myVenv/bin/activate
pip3 install ipykernel
python3 -m ipykernel install --user --name=myVenv |
To remove your personal kernels from Jupyterlab once you don't need them anymore, you could do so with:
No Format |
---|
jupyter kernelspec uninstall myKernelName |