我已按照 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会安装在这个文件夹下呢?
运行此命令
jupyter lab
或
python -m jupyter lab
对于 jupyter 笔记本运行
jupyter notebook
或 python -m jupyter notebook
在运行
jupyter notebook
之前通过运行pip install jupyter notebook
安装jupyter笔记本
对于 Windows 运行此命令
python -m jupyterlab