diff --git a/create_JupyterLab_kernel.sh b/create_JupyterLab_kernel.sh index ac2ab8473225b0f9c46bdb22f94f552f0e2cdf79..093cc35e63feb521a53bd0cba072508c5d12a0e2 100644 --- a/create_JupyterLab_kernel.sh +++ b/create_JupyterLab_kernel.sh @@ -22,7 +22,7 @@ spack repo add /srv/$INSTALLATION_ROOT/ebrains-spack-builds # no need to activate as the env is already activated in the context it is used #spack env activate $SPACKIFIED_ENV -source /usr/share/Modules/init/sh +source /usr/share/modules/init/sh module use /srv/$INSTALLATION_ROOT/spack/share/spack/modules/linux-ubuntu20.04-x86_64/ source /srv/$INSTALLATION_ROOT/spack/var/spack/environments/$SPACKIFIED_ENV/loads # add also user's .local python3.8 packages to allow package installation at runtime by the user using pip