kernel registration corrected

This commit is contained in:
Nicolas 2022-09-20 11:45:36 +00:00
parent 542787dc9d
commit cdf23789d3
1 changed files with 2 additions and 2 deletions

View File

@ -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: