Jupyterlab不使用内核的python

时间:2019-10-10 05:52:35

标签: python kernel jupyter conda environment

Conda环境:

  • ML_v0.2(在此环境中安装并启动了jupyter)
  • handson-ml2(我想用于练习的环境)
  • 更多

jupyter kernelspec list

enter image description here


问题在于,当我在jupyterlab中选择handon-ml2内核时,jupyterlab仍使用ml_v0.2 env的python(jupyter在此环境中启动)。

enter image description here

此外,路径变量也不来自handson-ml2环境。 enter image description here

正常吗?我是否需要在handson-ml2环境上安装jupyterlab并在其上启动才能使用env和PATH变量的python?


编辑

我安装了nb_conda_kernels

conda install nb_conda_kernels

现在jupyter使用所选的conda env和python。

0 个答案:

没有答案