首页 文章

鱼壳找不到jupyter笔记本

提问于
浏览
0

我只是一个初学者,并尝试使用鱼壳 .

我安装鱼壳后命令行找不到jupyter笔记本 .

> jupyter notebook
fish: Unknown command 'jupyter'

jupyter安装在pip3中,它最初在bash中工作正常 .

> pip3 show jupyter
Name: jupyter
Version: 1.0.0
Summary: Jupyter metapackage. Install all the Jupyter components in one go.
Home-page: http://jupyter.org
Author: Jupyter Development Team
Author-email: jupyter@googlegroups.org
License: BSD
Location: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
Requires: ipywidgets, ipykernel, nbconvert, notebook, qtconsole, jupyter-console

我错过了一些路径变量设置吗?

1 回答

  • 2

    您必须在其中一个bash配置脚本(例如〜/ .bashrc)中自定义$ PATH . 可能通过寻找帮助脚本来为jupyter设置环境 . 启动bash并运行 type jupyterecho $PATH . 然后在运行fish时将其与 echo $PATH 进行比较并添加缺少的目录 . 你想通过在你的〜/ .config / fish / config.fish中添加_2418650来使它永久化 .

相关问题