ModuleNotFoundError: No module named 'jupyter_nbextensions_configurator'

尉迟龙光
2023-12-01
[W 12:56:21.617 NotebookApp] Error loading server extension jupyter_nbextensions_configurator
    Traceback (most recent call last):
      File "/admin/anaconda3/lib/python3.7/site-packages/notebook/notebookapp.py", line 1546, in init_server_extensions
        mod = importlib.import_module(modulename)
      File "/admin/anaconda3/lib/python3.7/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'

当出现如上错误时,请先检查自己的 jupyter notebook 命令是否正确。

错误的命令 jupyter-notebook
正确的命令 jupyter notebook

如果还是不能解决的话,可以尝试下面的解决方案:

python -m pip install --user jupyter_contrib_nbextensions
jupyter contrib nbextension install --user --skip-running-check
python -m pip install --user jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user

参考:
ImportError: No module named ‘jupyter_nbextensions_configurator’

 类似资料:

相关阅读

相关文章

相关问答