Pip zsh:未找到命令:jupyter

Pip zsh:未找到命令:jupyter,pip,jupyter,zsh,Pip,Jupyter,Zsh,我用pip3安装了juypter。这是pip3 show Jupiter的输出: 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 Li

我用pip3安装了juypter。这是
pip3 show Jupiter
的输出:

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: /Users/myuser/Library/Python/3.8/lib/python/site-packages
Requires: notebook, ipywidgets, ipykernel, qtconsole, nbconvert, jupyter-console
Required-by: 
哪个python3
哪个pip3
输出:

/usr/local/bin/python3
/usr/local/bin/pip3
当我键入任何
Jupiter
命令时,zsh返回:
未找到命令:jupyter

我读到我已经修改了§PATH变量

我试着把它改成两个

export PATH=/Users/myuser/Library/Python/3.8/lib/python/site-packages
export PATH=/Users/myuser/Library/Python/3.8
如果我在Finder中搜索“Jupyter”,我可以找到例如一个
Jupyter笔记本
exec并运行它


如何从终端使用Jupyter命令?

您编写的两个路径定义都没有意义,因为您已从路径中删除了标准目录。您需要找到可执行文件
juypter
所在的目录,然后将该目录添加到您的路径中。这与您希望通过路径执行的任何其他程序的过程相同

或者,您可以通过显式指定路径来调用
juypter

/path/to/your/installed/file/juypter
如果您不知道您的文件放在哪个directoy
pip
中,您可以尝试

find / -name juypter 2>/dev/null

错误重定向是可取的,因为您将收到大量关于目录的错误消息。
find
不允许cd进入。

您编写的两个路径定义都没有意义,因为您已从路径中删除了标准目录。您需要找到可执行文件
juypter
所在的目录,然后将该目录添加到您的路径中。这与您希望通过路径执行的任何其他程序的过程相同

或者,您可以通过显式指定路径来调用
juypter

/path/to/your/installed/file/juypter
如果您不知道您的文件放在哪个directoy
pip
中,您可以尝试

find / -name juypter 2>/dev/null
错误重定向是可取的,因为否则您将收到大量关于目录的错误消息
find
不允许cd进入