文章目录
项目场景解决办法
项目场景
最近在为 jupyter 配置 Wolffram 时,出现了如下报错:
Traceback (most recent call last): File "/usr/bin/jupyter", line 33, in sys.exit(load_entry_point('jupyter-core==4.7.1', 'console_scripts', 'jupyter')()) File "/usr/lib/python3/dist-packages/jupyter_core/command.py", line 285, in main command = _jupyter_abspath(subcommand) File "/usr/lib/python3/dist-packages/jupyter_core/command.py", line 124, in _jupyter_abspath raise Exception(Exception: Jupyter command `jupyter-kernelspec` not found.
这里系统提示我系统找不到 jupyter-kernelspec 命令,于是我试着列出我系统上安装的 jupyter kernelspec list,报错依旧:
解决办法
系统未安装包含 jupyter-kernelspec 命令的包导致,也就是缺乏配置文件,使用如下命令安装即可:
sudo apt-get install jupyter-client
再次查询:
问题解决。