简体   繁体   English

在Mac OS上将iPython更新到版本2.0

[英]Update iPython to version 2.0 on Mac OS

I have Canopy installed on my Mac OS. 我的Mac OS上安装了Canopy。 As I see the version 2.0 of iPython was been released and I want to install it. 如我所见,iPython的2.0版本已经发布,我想安装它。

But when I am trying to install it I get the next message: 但是,当我尝试安装它时,会收到下一条消息:

$ enpkg ipython

prefix: /Users/demas/Library/Enthought/Canopy_64bit/User
No update necessary, 'ipython' is up-to-date.
ipython-1.2.1-2.egg was installed on: Sun Apr  6 17:08:21 2014

Why my python installation can not find the new version of IPython ? 为什么我的python安装找不到新版本的IPython?

Update: 更新:

I have updated package using: 我已经使用以下方法更新了软件包:

 pip install ipython --upgrade

but I am not sure, is it save way to upgrade packages in the Canopy distribution ? 但我不确定,是否可以节省升级Canopy发行版中软件包的方法?

For the most recent version of all already-installed packages (only from enpkg version 4.6 or higher): 对于所有已经安装的软件包的最新版本(仅来自enpkg 4.6或更高版本):

$ enpkg --update-all

Display available updates of already-installed packages: 显示已经安装的软件包的可用更新:

$ enpkg --whats-new

Try This: 尝试这个:

enpkg --remove ipython
enpkg ipython

The iPython docs recommend two methods for installing/updating iPython on a mac. iPython文档推荐了两种在Mac上安装/更新iPython的方法。 enpkg and Anaconda. enpkg和Anaconda。 I use Anaconda, currently I am running iPython 2.0 on my Macbook. 我使用Anaconda,目前在Macbook上运行iPython 2.0。 If you want to try Anaconda out, first you must install Anaconda using their gui installer, and then run the following command in your terminal: 如果要尝试使用Anaconda,首先必须使用其gui安装程序安装Anaconda,然后在终端中运行以下命令:

conda update ipython

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM