From cdf23789d3705abefdc6d7eb6df8f54b03cfaca8 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 20 Sep 2022 11:45:36 +0000 Subject: [PATCH] kernel registration corrected --- setup_apps_miniforge.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup_apps_miniforge.sh b/setup_apps_miniforge.sh index b7db47d..cc16f09 100644 --- a/setup_apps_miniforge.sh +++ b/setup_apps_miniforge.sh @@ -83,14 +83,14 @@ ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh mkdir -p /opt/conda/envs/ #remove existing environment and ipykernel: -#jupyter kernelspec remove python3 +#/opt/conda/envs/default_python/jupyter kernelspec remove python3 #/opt/conda/bin/conda env remove -p /opt/conda/envs/default_python #setup default conda environment /opt/conda/bin/conda env create --prefix /opt/conda/envs/default_python -f work-environment.yml #setup kernel for using the enviroment in jupyter lab -/opt/conda/envs/default_python/bin/python -m ipykernel install --prefix /usr/local/ --name 'python3' --display-name "Python (default)" +/opt/conda/envs/default_python/bin/python -m ipykernel install --name 'python3' --display-name "Python (default)" #users have to setup their kernel like this: