我只是个初学者,试着用鱼壳。
命令行无法找到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我是否错过了某个路径变量设置?
发布于 2017-03-17 18:01:55
您必须在bash脚本(如~/..bashrc)中自定义您的$PATH。可能是通过寻找一个帮助脚本来为jupyter设置环境。启动bash并运行type jupyter和echo $PATH。然后在运行fish时将其与echo $PATH进行比较,并添加缺少的目录。您希望通过向~/..config/ set PATH $PATH /missing/directory /config.fish添加set PATH $PATH /missing/directory使其永久化。
发布于 2020-08-07 06:46:26
https://stackoverflow.com/questions/42861613
复制相似问题