通过命令行 WIndows 运行 Jupiter Lab

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

我已按照 Jupyter 官方网站上的说明进行操作。

我用 pip 安装了 JupyterLab:

pip install jupyterlab

然后我尝试运行 JupyterLab:

jupyter-lab

它显示以下错误:

'jupyter-lab' is not recognized as an internal or external command,
operable program or batch file.

我检查了环境变量(我使用Windows 10),我很确定它是正确的。

我尝试使用以下命令:

python -m notebook

但是是这样说的:

C:\Program Files\Inkscape\bin\python.exe: No module named notebook

为什么它使用Inkspace(它是另一个程序)的路径来运行python?还有为什么python会安装在这个文件夹下呢?

python jupyter jupyter-lab
2个回答
0
投票

运行此命令

jupyter lab

python -m jupyter lab

对于 jupyter 笔记本运行

jupyter notebook
python -m jupyter notebook

在运行

jupyter notebook
之前通过运行
pip install jupyter notebook

安装jupyter笔记本

0
投票

对于 Windows 运行此命令

python -m jupyterlab
© www.soinside.com 2019 - 2024. All rights reserved.