kernel registration corrected
This commit is contained in:
parent
542787dc9d
commit
cdf23789d3
|
@ -83,14 +83,14 @@ ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh
|
||||||
mkdir -p /opt/conda/envs/
|
mkdir -p /opt/conda/envs/
|
||||||
|
|
||||||
#remove existing environment and ipykernel:
|
#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
|
#/opt/conda/bin/conda env remove -p /opt/conda/envs/default_python
|
||||||
|
|
||||||
#setup default conda environment
|
#setup default conda environment
|
||||||
/opt/conda/bin/conda env create --prefix /opt/conda/envs/default_python -f work-environment.yml
|
/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
|
#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:
|
#users have to setup their kernel like this:
|
||||||
|
|
Loading…
Reference in New Issue