6

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

conda info --envs

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

在此处输入图像描述

结果出现了一些奇怪的东西

  1. 检索已安装的软件包时出错。

    EnvironmentLocationNotFound: Not a conda environment: /opt/conda/envs/conda
    

jupyter conda 中有两个默认环境

  1. 启动 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

但我想将其保留在 conda 内。

4

1 回答 1

0

如果您不想使用 pip 进行更新,而想使用 conda 进行更新

conda update jupyter_client jupyter_core

于 2018-05-16T13:04:01.153 回答