我试图在我的 Kubuntu 机器上安装 jupyter lab。如果我使用“pip3 install jupyter jupyterlab”安装 jupyter lab,则命令“jupyter notebook”可以正常工作。但是,如果我每次收到消息时都尝试运行“jupyter lab”:
Traceback (most recent call last):
File "/usr/local/bin/jupyter", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/jupyter_core/command.py", line 230, in main
command = _jupyter_abspath(subcommand)
File "/usr/local/lib/python3.6/dist-packages/jupyter_core/command.py", line 133, in _jupyter_abspath
'Jupyter command `{}` not found.'.format(jupyter_subcommand)
Exception: Jupyter command `jupyter-lab` not found.
怎么了?
我尝试多次重新安装 jupyter 和 jupyterlab 遇到相同的问题。