首页 文章

Jupyter conda异常GET / api / kernelspecs两个默认的envs

提问于
浏览
6

我已经安装了conda(python 3.5,channel = conda-forge)和几个包含conda和jupyter labextension ...

conda info --envs

只有root,我没有创建任何额外的环境)

enter image description here

结果是有一些奇怪的事情

  • 检索已安装的软件包时发生错误 .
EnvironmentLocationNotFound: Not a conda environment: /opt/conda/envs/conda

jupyter conda中有两个默认环境

  • 我在启动jupyter(笔记本或实验室)时遇到错误:
[E 16:33:06.973 LabApp] Uncaught exception GET /api/kernelspecs?1525530786969 (172.17.0.1)

[E 16:35:44.455 LabApp] 500 GET /api/kernelspecs (172.17.0.1) 3.71ms

一个结果是,即使它们出现,也没有内核

jupyter kernelspec list

一种方法是使用pip 9.x和

pip install --upgrade jupyter-client

但是我想把它放在康达里面 .

1 回答

  • 0

    如果您不想使用pip进行更新,并希望使用conda进行更新

    conda update jupyter_client jupyter_core

相关问题