【发布时间】:2019-04-23 03:26:15
【问题描述】:
我今天在我的mac上重新安装了jupyter,发现找不到jupyter命令。
$ jupyter
zsh: command not found: jupyter
搜索了我的python(由Homebrew安装)bin目录,而不是jupyter。
所以我检查了包裹信息:
$ pip3 show -f 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: /usr/local/lib/python3.7/site-packages
Requires: notebook, ipywidgets, jupyter-console, ipykernel, qtconsole, nbconvert
Required-by:
Files:
__pycache__/jupyter.cpython-37.pyc
jupyter-1.0.0.dist-info/DESCRIPTION.rst
jupyter-1.0.0.dist-info/INSTALLER
jupyter-1.0.0.dist-info/METADATA
jupyter-1.0.0.dist-info/RECORD
jupyter-1.0.0.dist-info/WHEEL
jupyter-1.0.0.dist-info/metadata.json
jupyter-1.0.0.dist-info/pbr.json
jupyter-1.0.0.dist-info/top_level.txt
jupyter.py
这里没有../../../bin/jupyter。
但我确信我可以在我的 Windows PC 上使用相同的轮子包获得%python_root%/scripts/jupyter。
那么jupyter 命令的来源以及我该如何解决这个问题。
【问题讨论】:
-
现在移到
jupyter-core,试试pip3 show -f jupyter-core -
你是如何安装 Jupyter 的?
-
@hoefling,是的!这就是问题所在,这里列出了
../../../bin/jupyter。
标签: python pip jupyter setuptools