未找到 JupyterLab 应用程序资产

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

我刚刚在我的 MacBook 上使用 pip 下载了 jupyter lab。当我在终端上运行 jupyter lab 时,浏览器打开时出现以下错误:

JupyterLab 错误 JupyterLab 应用程序资产未在以下位置找到 “/opt/homebrew/Cellar/[电子邮件受保护]/3.10.6_2/Frameworks/Python.framework/Versions/3.10/share/jupyter/lab” 请运行

jupyter lab build
或使用不同的应用程序目录

我可以毫无问题地运行jupyter笔记本。

注意:我可以通过运行

jupyter lab --code-mode

使用 jupyter lab
jupyter jupyter-lab
3个回答
26
投票

可以通过手动设置应用程序目录来解决:

jupyter lab --app-dir /opt/homebrew/share/jupyter/lab
,将
/opt/homebrew
替换为实际的自制程序路径。

使用 pip3 安装

jupyterlab
时遇到此问题。


0
投票

我尝试了“jupyter lab --core-mode”并且成功了。

从这里看到的 https://github.com/jupyterlab/jupyterlab/issues/3123


-1
投票

请改为运行

conda install jupyterlab
。我用 miniforge (https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh) 尝试了一下,它成功了。

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