我曾经能够从命令行启动jupyter Lab。由于我已经更新到Mac OS Catalina,因此我不再能够这样做。我试过将文件移到用户文件夹,以及重新安装anaconda。
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/jupyter", line 10, in <module>
sys.exit(main())
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jupyter_core/command.py", line 247, in main
command = _jupyter_abspath(subcommand)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jupyter_core/command.py", line 134, in _jupyter_abspath
'Jupyter command `{}` not found.'.format(jupyter_subcommand)
Exception: Jupyter command `jupyter-lab` not found.
答案 0 :(得分:0)
我只需转到错误发生的文件,然后将其尝试执行的位置从jupyter-lab
更改为jupyter lab
。可能不起作用,但是我已经做了这类工作来解决一些不兼容的问题,所以我将其放在这里:)