Jupyter conda选项卡“检索软件包信息时发生错误." [英] Jupyter conda tab 'An error occurred while retrieving package information.'
问题描述
在我的根环境中运行
$ jupyter notebook
,然后在浏览器中,单击"Conda"选项卡.这总是用来列出我的conda环境及其中的软件包.现在,我受到以下错误的欢迎.
and in the browser, click on the 'Conda' tab. This always used to list my conda environments and the packages in them. Now I'm greeted by the following error.
我最近创建并删除了一些conda环境,也许这是相关的.唯一的控制台输出是
I recently created and deleted some conda environments, maybe that is relevant. The only console output is
[W 10:30:20.948 NotebookApp] 404 GET /environments?_=1476811818902 (::1) 13.19ms referer=http://localhost:8888/tree
[W 10:30:20.951 NotebookApp] 404 GET /packages/available?_=1476811818903 (::1) 1.77ms referer=http://localhost:8888/tree
推荐答案
查看此问题: https://github.com/Anaconda-Platform/nb_conda/issues/23
问题似乎是conda
环境中的笔记本配置文件与users目录中的配置文件之间的冲突.
The issue seems to be a conflict between the notebook config file in the conda
environment and the config file in the users directory.
要解决此问题并获得选项卡以正确显示内容,我必须删除该文件:
To fix the issue and get the tab to display properly the content, I had to remove that file:
rm jupyter_notebook_config.json in ~/.jupyter
请注意,对我而言,这不是问题,因为它实际上不包含任何东西.
Note that, for me, that was not an issue as it did not really contain anything.
这篇关于Jupyter conda选项卡“检索软件包信息时发生错误."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!