Skip to content

Commit 70d950c

Browse files
committed
install python2 kernelspec into notebook env
like other things, this was always the right thing to do, but more important now that notebook prefix is not the same as CONDA_DIR
1 parent 51f15ee commit 70d950c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

repo2docker/buildpacks/conda/install-miniconda.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ if [[ -f /tmp/kernel-environment.yml ]]; then
5959
cat /tmp/kernel-environment.yml
6060

6161
conda env create -p ${KERNEL_PYTHON_PREFIX} -f /tmp/kernel-environment.yml
62-
${KERNEL_PYTHON_PREFIX}/bin/ipython kernel install --prefix "${CONDA_DIR}"
63-
echo '' > ${KERNEL_PYTHON_PREFIX}/envs/kernel/conda-meta/history
62+
${KERNEL_PYTHON_PREFIX}/bin/ipython kernel install --prefix "${NB_PYTHON_PREFIX}"
63+
echo '' > ${KERNEL_PYTHON_PREFIX}/conda-meta/history
6464
conda list -p ${KERNEL_PYTHON_PREFIX}
6565
fi
6666

0 commit comments

Comments
 (0)