我安装了一个Anaconda的副本来玩,但决定我更喜欢自制软件,所以我删除了它。但是,这似乎搞乱了我的Jupyter笔记本安装,因为我无法再访问它。我pip install jupyter
重新安装它,当我运行pip show jupyter
我得到:-bash: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: [email protected]
License: BSD
Location: /usr/local/lib/python2.7/site-packages
Requires: ipywidgets, nbconvert, notebook, jupyter-console, qtconsole, ipykernel
但是当我运行which -a jupyter
我什么也没得到。我甚至尝试通过Homebrew再次卸载并安装python,它仍然给我错误,-bash: jupyter: command not found
。
我已经正确安装蟒蛇,which -a python
给出:
/usr/local/bin/python
/usr/bin/python
任何想法,为什么它可能无法正常工作?
自制软件和蟒蛇有非常不同的用途 –
这是可能的点子安装在其他地方的二进制文件。 'find/-name jupyter'返回什么? –