gpt4 book ai didi

ipython - 如何将 ipython 从 0.12 升级到 0.13?

转载 作者:行者123 更新时间:2023-12-03 15:12:48 26 4
gpt4 key购买 nike

我在 Mac Lion OS 上使用最新免费版本的 Enthought 包。包中的 ipython 是 0.12。如何将其升级到 0.13?

当我按照说明运行以下命令时

sudo easy_install ipython[zmq,qtconsole,notebook,test]

我收到以下错误:

搜索 ipython[zmq,qtconsole,notebook,test]
最佳匹配: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,notebook,test] 的依赖项
回溯(最近一次调用最后一次):
文件“/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 行,在主目录中
with_ei_usage( lambda :
文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/setuptools/command/easy_install.py”,第 1896 行,with_ei_usage
返回 f()
文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/setuptools/command/easy_install.py”,第 1919 行,在
distclass=DistributionWithoutHelpCommands, **kw
文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/distutils/core.py”,第 152 行,在设置中
dist.run_commands()
文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/distutils/dist.py”,第 953 行,在 run_commands 中
self.run_command(cmd)
文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/distutils/dist.py”,第 972 行,在 run_command
cmd_obj.run()
文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/setuptools/command/easy_install.py”,第350行,运行中
self.easy_install(spec,不是 self.no_deps)
文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/setuptools/command/easy_install.py”,第587行,在easy_install中
self.process_distribution(spec, dist, deps, "使用")
文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/setuptools/command/easy_install.py”,第674行,在process_distribution
[要求]、self.local_index、self.easy_install
文件“/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/pkg_resources.py”,第593行,解析
要求.扩展(dist.requires(req.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 的 Snow Leopard 有用:

sudo easy_install -U ipython

关于ipython - 如何将 ipython 从 0.12 升级到 0.13?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11426045/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com