清理已累积的Conda / Jupyter错误消息

时间:2018-02-16 21:24:35

标签: python anaconda jupyter-notebook conda

我有一堆累积的残余我想要清理..任何帮助赞赏! 当我启动Jupyter Notebook时,我得到了:

server_extensions is deprecated, use nbserver_extensions

似乎我有nbserver扩展,如何摆脱无关的消息?有可以修改的配置文件吗?

此外:点击" conda"选项卡我显示的选项卡上出现错误:

An error occurred while retrieving package information.
Not Found 

并且不显示任何包或env 终端显示

[W 14:46:41.354 NotebookApp] 404 GET /conda/environments?_=1518813972634 (127.0.0.1) 8.62ms referer=http://localhost:8888/tree/Documents
[W 14:46:41.356 NotebookApp] 404 GET /conda/packages/available?_=1518813972635 (127.0.0.1) 1.69ms referer=http://localhost:8888/tree/Documents

然而,当我去"改变内核"在Notebook选项卡上,显示所有正确的内核。同样,如果我使用Anaconda-navigator,我的所有环境都会显示出来。 我在Linux 16.04上将Anaconda更新为5.1 我跑的时候:

jupyter kernelspec list
Available kernels:
python3    /home/tom/.local/share/jupyter/kernels/python3
tf4        /home/tom/.local/share/jupyter/kernels/tf4
clojure    /home/tom/anaconda3/share/jupyter/kernels/clojure
groovy     /home/tom/anaconda3/share/jupyter/kernels/groovy
java       /home/tom/anaconda3/share/jupyter/kernels/java
kotlin     /home/tom/anaconda3/share/jupyter/kernels/kotlin
scala      /home/tom/anaconda3/share/jupyter/kernels/scala
sql        /home/tom/anaconda3/share/jupyter/kernels/sql
xonsh      /home/tom/anaconda3/share/jupyter/kernels/xonsh

以上条目不是我的主要内核..两个第一个条目是我使用Ipython内核命令为Nteract创建的条目。

我最初在更新笔记本电脑时遇到了实验错误(在Anaconda更新到5.1之前)并从软件包维护者那里得到了一些帮助,但丢失了conda选项卡上的条目

当运行一个基本的笔记本时,我得到以下进一步的错误,但认为似乎运行正常,但我想要清理东西:

[W 15:04:30.580 NotebookApp] 404 GET /nbextensions/nbbrowserpdf/index.js?v=20180216144612 (127.0.0.1) 1.52ms referer=http://localhost:8888/notebooks/Documents/InfluenceH/Working_copies/CCS_propensity_wking/Model_eval.ipynb
[I 15:04:30.679 NotebookApp] Kernel started: 465c992c-a8a0-4488-8d1d-8cf3b183e9f0
[W 15:04:30.702 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20180216144612 (127.0.0.1) 1.22ms referer=http://localhost:8888/notebooks/Documents/InfluenceH/Working_copies/CCS_propensity_wking/Model_eval.ipynb

在anaconda3目录下,我的env是:

/home/tom/anaconda3/envs/py27
/home/tom/anaconda3/envs/py36
/home/tom/anaconda3/envs/py362
/home/tom/anaconda3/envs/py36j
/home/tom/anaconda3/envs/py36n
/home/tom/anaconda3/envs/pyfolioenv
/home/tom/anaconda3/envs/tf3rc
/home/tom/anaconda3/envs/tf4
/home/tom/anaconda3/envs/tf4n

.conda下有一个txt文件,其中列出了更多的env(其中一些我已删除。)

所以我猜一些配置文件丢失或配置错误,有任何建议如何解决?

0 个答案:

没有答案