kernel python prefix is always defined, even when it's the same as NB_PYTHON_PREFIX
MODIFY
repo2docker/buildpacks/conda/__init__.py
repo2docker/buildpacks/conda/__init__.py
@@ -31,6 +31,8 @@ class CondaBuildPack(BaseImage):
]
if self.py2:
env.append(('KERNEL_PYTHON_PREFIX', '${CONDA_DIR}/envs/kernel'))
+ else:
+ env.append(('KERNEL_PYTHON_PREFIX', '${NB_PYTHON_PREFIX}'))
return env
def get_path(self):

kernel python prefix is always defined, even when it's the same as NB_PYTHON_PREFIX