Skip to content

Commit

Permalink
Replace python3 kernel.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielballan committed Sep 14, 2023
1 parent 4963a97 commit 5885816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions binder/postBuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
# Replace the default Python 3 kernel, which would use the Jupyter server
# environment, with one that points into /nsls2/conda/ which is expected
# to be mounted in when the container is run.
mv /srv/conda/envs/notebook/share/jupyter/kernels/python3 /srv/conda/envs/notebook/share/jupyter/kernels/external_python3
mv ./binder/kernel.json /srv/conda/envs/notebook/share/jupyter/kernels/external_python3/kernel.json
cp ./binder/kernel.json /srv/conda/envs/notebook/share/jupyter/kernels/python3/kernel.json
jupyter kernelspec remove python3

0 comments on commit 5885816

Please sign in to comment.