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
MODIFY
repo2docker/buildpacks/conda/install-miniconda.bash
repo2docker/buildpacks/conda/install-miniconda.bash
@@ -59,8 +59,8 @@ if [[ -f /tmp/kernel-environment.yml ]]; then
cat /tmp/kernel-environment.yml
conda env create -p ${KERNEL_PYTHON_PREFIX} -f /tmp/kernel-environment.yml
- ${KERNEL_PYTHON_PREFIX}/bin/ipython kernel install --prefix "${CONDA_DIR}"
- echo '' > ${KERNEL_PYTHON_PREFIX}/envs/kernel/conda-meta/history
+ ${KERNEL_PYTHON_PREFIX}/bin/ipython kernel install --prefix "${NB_PYTHON_PREFIX}"
+ echo '' > ${KERNEL_PYTHON_PREFIX}/conda-meta/history
conda list -p ${KERNEL_PYTHON_PREFIX}
fi

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