ModuleNotFoundError-No module named jupyter_nbextensions_configurator

启动Anaconda中的Jupyter Notebook的时候,出现如下错误

1
2
3
4
5
6
7
8
9
10
[W 08:37:25.964 NotebookApp] Error loading server extension jupyter_nbextensions_configurator
Traceback (most recent call last):
File "D:\WorkingSoftware\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 1615, in init_server_extensions
mod = importlib.import_module(modulename)
File "D:\WorkingSoftware\Anaconda3\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'jupyter_nbextensions_configurator'

经查询,在Anaconda Prompt某Python环境(我使用的是Anaconda默认的base环境)中运行如下命令

1
python -m pip install jupyter_nbextensions_configurator

再次打开Jupyter Notebook时就可以发现问题已经解决。


作者:@臭咸鱼

转载请注明出处:https://www.cnblogs.com/chouxianyu/

欢迎讨论和交流!