如何将ipython从0.12升级到0.13?

如何将ipython从0.12升级到0.13?,ipython,Ipython,我正在Mac lion操作系统上使用最新的免费版本的Enthound软件包。ipython附带的软件包为0.12。如何将其升级到0.13 当我按照指令运行以下命令时 sudo easy_install ipython[zmq,qtconsole,notebook,test] 我有以下错误: Searching for ipython[zmq,qtconsole,notebook,test] Best match: ipython 0.12.1 Adding ipython 0.12.1 to

我正在Mac lion操作系统上使用最新的免费版本的Enthound软件包。ipython附带的软件包为0.12。如何将其升级到0.13

当我按照指令运行以下命令时

sudo easy_install ipython[zmq,qtconsole,notebook,test]
我有以下错误:

Searching for ipython[zmq,qtconsole,notebook,test] Best match: ipython 0.12.1 Adding ipython 0.12.1 to easy-install.pth file Using /Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages Processing dependencies for ipython[zmq,qtconsole,notebook,test] Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/Current/bin/easy_install", line 10, in sys.exit(main()) File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1915, in main with_ei_usage(lambda: File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1896, in with_ei_usage return f() File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1919, in distclass=DistributionWithoutHelpCommands, **kw File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 350, in run self.easy_install(spec, not self.no_deps) File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 587, in easy_install self.process_distribution(spec, dist, deps, "Using") File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 674, in process_distribution [requirement], self.local_index, self.easy_install File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/pkg_resources.py", line 593, in resolve requirements.extend(dist.requires(req.extras)[::-1]) File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/pkg_resources.py", line 2219, in requires "%s has no such extra feature %r" % (self, ext) pkg_resources.UnknownExtra: ipython 0.12.1 has no such extra feature 'zmq' 搜索ipython[zmq、qtconsole、笔记本、测试] 最佳匹配:ipython 0.12.1 将ipython 0.12.1添加到easy-install.pth文件 使用/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages 处理ipython的依赖项[zmq、qtconsole、笔记本、测试] 回溯(最近一次呼叫最后一次): 文件“/Library/Frameworks/Python.framework/Versions/Current/bin/easy_install”,第10行,在 sys.exit(main()) 文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/setuptools/command/easy_-install.py”,主目录第1915行 使用_ei_(λ: 文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site packages/setuptools/command/easy_install.py”,第1896行,使用 返回f() 文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site packages/setuptools/command/easy_install.py”,第1919行,在 distclass=DistributionWithout帮助命令,**kw 文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/distutils/core.py”,第152行,在安装程序中 dist.run_命令() 文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/distutils/dist.py”,第953行,在run_命令中 self.run_命令(cmd) 文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/distutils/dist.py”,第972行,在run_命令中 cmd_obj.run() 文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site packages/setuptools/command/easy_install.py”,第350行,运行中 自我。易于安装(规范,非自我。无需安装) 文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site packages/setuptools/command/easy_install.py”,第587行,在easy_install中 自我过程分配(规范、地区、部门,“使用”) 文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/setuptools/command/easy\u-install.py”,第674行,进程中分发 [要求]、self.local\u索引、self.easy\u安装 文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site packages/pkg_resources.py”,第593行,在resolve中 需求扩展(dist.requires(require.extras)[:-1]) 文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site packages/pkg_resources.py”,第2219行,在 “%s没有这样的额外功能%r”%(self,ext) pkg_resources.UnknownExtra:ipython 0.12.1没有这样的额外功能“zmq” 看起来它没有搜索0.13。它仍在搜索0.12


如何升级到0.13?

这对我使用EPD 7.3的雪豹很有效:

sudo easy_install -U ipython

对于ubuntu用户,请遵循此步骤

pip install ipython --upgrade