ModuleNotFoundError:没有名为“ notebook.nbconvert”的模块

时间:2020-09-02 07:10:04

标签: jupyter-lab nbconvert

我正在尝试从Windows 10上的控制台打开Jupyter Lab

$ jupyter lab
    Traceback (most recent call last):
      File "C:\Users\egoro\miniconda3\Scripts\jupyter-lab-script.py", line 9, in <module>
        sys.exit(main())
      File "C:\Users\egoro\miniconda3\lib\site-packages\jupyter_core\application.py", line 270, in launch_instance
        return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
      File "C:\Users\egoro\miniconda3\lib\site-packages\traitlets\config\application.py", line 837, in launch_instance
        app.initialize(argv)
      File "C:\Users\egoro\miniconda3\lib\site-packages\traitlets\config\application.py", line 86, in inner
        return method(app, *args, **kwargs)
      File "C:\Users\egoro\miniconda3\lib\site-packages\notebook\notebookapp.py", line 2037, in initialize
        self.init_webapp()
      File "C:\Users\egoro\miniconda3\lib\site-packages\notebook\notebookapp.py", line 1675, in init_webapp
        self.web_app = NotebookWebApplication(
      File "C:\Users\egoro\miniconda3\lib\site-packages\notebook\notebookapp.py", line 188, in __init__
        handlers = self.init_handlers(settings)
      File "C:\Users\egoro\miniconda3\lib\site-packages\notebook\notebookapp.py", line 333, in init_handlers
        handlers.extend(load_handlers('notebook.nbconvert.handlers'))
      File "C:\Users\egoro\miniconda3\lib\site-packages\notebook\notebookapp.py", line 168, in load_handlers
        mod = __import__(name, fromlist=['default_handlers'])
    ModuleNotFoundError: No module named 'notebook.nbconvert'

我不明白为什么会遇到这个问题。 我安装了新版本的nbconvert pip install https://github.com/jupyter/nbconvert/archive/6.0.0a6.zip

0 个答案:

没有答案