You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

无法使用Jupyter Notebook:提示“翻译设置架构缺失或损坏”

Jupyter Notebook启动报错:Missing or misshapen translation settings schema

学校作业需通过终端启动本地托管的Jupyter Notebook,首次使用正常,尝试从浏览器退出无反应后直接关闭浏览器和终端,此后启动出现“Missing or misshapen translation settings schema”错误。已搜索尝试相关方案,多数涉及Anaconda的卸载更新但未使用该工具;尝试相关Stack Overflow方案也无效。

具体错误信息:

[W 2023-08-30 20:55:30.861 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-08-30 20:55:30.861 JupyterNotebookApp] Settings directory does not exist at /opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/share/jupyter/lab/schemas
[W 2023-08-30 20:55:30.908 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-08-30 20:55:30.908 ServerApp] 404 GET /lab/api/settings/@jupyter-notebook/application-extension:shell?1693421730904 (::1): Schema not found: /opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json

解决办法

  • 强制重装相关组件,修复缺失的schema文件:
    pip install --force-reinstall jupyterlab notebook jupyterlab-translation
    
  • 清理并重建Jupyter Lab静态资源:
    jupyter lab clean
    jupyter lab build
    
  • 针对Homebrew安装的Python@3.10,指定环境重装确保路径正确:
    /opt/homebrew/bin/python3.10 -m pip install --force-reinstall jupyterlab notebook
    

内容的提问来源于stack exchange,提问作者EconNoob

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.12 06:55:18