2016-04-23 140 views
2

编辑:使用PIP安装IPython的笔记本

根据画中画网站(https://pip.pypa.io/en/stable/installing),我应该已经PIP我的Python版本2.9.7安装,但我认为我不要因为错误的信息。

然后我试图通过下载get-pip.py来安装pip。这是成功的,但我得到了消息:

Found existing installation: pip 1.3.1 
Uninstalling pip-1.3.1: 
Successfully uninstalled pip-1.3.1 
Successfully installed pip-8.1.1 wheel-0.29.0 

所以看起来我有一个版本点子的,所以我不知道为什么我得到在我原来的职位描述的错误消息。

但是,当我试图然后点子安装jupyter,我只是得到:

-bash: pip: command not found 

一次。有人能告诉我我做错了吗?


我需要安装iPython Notebook。我已经在我的Macbook上安装了Python(2.7.9版本),运行OS X(版本10.7.5)。

经过一些初步的调查,我看到有人说,我可以只运行:

pip install "ipython[notebook]" 

当我做这个但是,我得到:

-bash: pip: command not found 

所以我必须先安装PIP ?然后用pip来安装Notebook?我超出了我的深度,有点困惑!

+2

是的,你需要安装点子。信息在这里:https://pip.pypa.io/en/stable/installing/ – jakevdp

+1

请注意,IPython笔记本已更名为Jupyter Notebook。您仍然可以[安装它](http://jupyter.readthedocs.org/en/latest/install.html#existing-python-new-jupyter)与pip:'pip install jupyter'。 –

回答

0

好吧,所以我的问题是安装了点子,但是没有包含在我的$ PATH变量中。

其中一个答案here是相关的。