安装Jupyter扩展时出现启动错误

时间:2020-07-23 06:09:53

标签: jupyter-notebook anaconda jupyter

我是python的新手,显然可能有一个非常基本的问题。

我正在使用jupyter笔记本电脑(通过anaconda),并决定安装jupyter扩展程序。因此,我在命令提示符中使用了以下代码。 pip install jupyter_contrib_nbextensions && jupyter contrib nbextension安装

从那时起,当我通过蟒蛇打开Jupyter笔记本电脑时,会产生以下错误(请参见下文)。笔记本仍然可以运行。我重新安装了蟒蛇,但是问题是一样的。

有人知道为什么会这样吗?我应该使用conda install吗?

[I 15:09:05.724 NotebookApp] The port 8888 is already in use, trying another port.
[I 15:09:05.725 NotebookApp] The port 8889 is already in use, trying another port.
[W 15:09:05.731 NotebookApp] Error loading server extension jupyter_nbextensions_configurator
Traceback (most recent call last):
File "C:\Users\Win7ADM\anaconda3\lib\site-packages\notebook\notebookapp.py", line 1670, in init_server_extensions
mod = importlib.import_module(modulename)
File "C:\Users\Win7ADM\anaconda3\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'jupyter_nbextensions_configurator'
[I 15:09:05.765 NotebookApp] JupyterLab extension loaded from C:\Users\Win7ADM\anaconda3\lib\site-packages\jupyterlab
[I 15:09:05.765 NotebookApp] JupyterLab application directory is C:\Users\Win7ADM\anaconda3\share\jupyter\lab
[I 15:09:05.775 NotebookApp] Serving notebooks from local directory: C:\Users\Win7ADM
[I 15:09:05.775 NotebookApp] The Jupyter Notebook is running at:


To access the notebook, open this file in a browser:
file:///C:/Users/Win7ADM/AppData/Roaming/jupyter/runtime/nbserver-1116-open.html

0 个答案:

没有答案