安装“jupyter-markdown”扩展后无法加载 Jupyter Lab

问题描述 投票:0回答:1

我刚刚通过

pip install
安装了 Jupyter Lab。它运行良好,直到我通过
pip install jupyter-markdown
安装了“jupyter-markdown”扩展。

现在我无法加载 Jupyter Lab。我收到以下错误:

[W 2023-11-09 22:59:30.662 ServerApp] 404 GET /lab/api/settings?1699567170458 (::1): Schema not found: C:/Users/ephra/miniconda3/envs/md/share/jupyter/lab/schemas\@datalayer/jupyter-admin\plugin.json
[W 2023-11-09 22:59:30.663 LabApp] wrote error: 'Schema not found: C:/Users/ephra/miniconda3/envs/md/share/jupyter/lab/schemas\\@datalayer/jupyter-admin\\plugin.json'
    Traceback (most recent call last):
      File "C:\Users\ephra\miniconda3\envs\md\Lib\site-packages\tornado\web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\ephra\miniconda3\envs\md\Lib\site-packages\tornado\web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\ephra\miniconda3\envs\md\Lib\site-packages\jupyterlab_server\settings_handler.py", line 57, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "C:\Users\ephra\miniconda3\envs\md\Lib\site-packages\jupyterlab_server\settings_utils.py", line 386, in get_settings
        settings_list, warnings = _list_settings(
                                  ^^^^^^^^^^^^^^^
      File "C:\Users\ephra\miniconda3\envs\md\Lib\site-packages\jupyterlab_server\settings_utils.py", line 211, in _list_settings
        schema, version = _get_schema(
                          ^^^^^^^^^^^^
      File "C:\Users\ephra\miniconda3\envs\md\Lib\site-packages\jupyterlab_server\settings_utils.py", line 55, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: C:/Users/ephra/miniconda3/envs/md/share/jupyter/lab/schemas\@datalayer/jupyter-admin\plugin.json)
[W 2023-11-09 22:59:30.665 LabApp] 404 GET /lab/api/settings?1699567170458 (a8be64fc149d42c2b38ccd8d38f052f5@::1) 100.08ms referer=http://localhost:8888/lab

我可以删除虚拟环境并重新创建 venv 并重新安装 Jupyter Lab。我的问题是知道是否有办法安装“jupyter-markdown”扩展并在 Jupyter Lab 中使用它。如果我通过 Jupyter Lab 扩展选项卡安装

jupyter-markdown
扩展,我会收到相同的错误。

我使用Windows 11,python 3.11.0

python markdown jupyter-lab
1个回答
0
投票

我已经安装了

jupyterlab_myst
扩展。

© www.soinside.com 2019 - 2024. All rights reserved.