5

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
easy-install.pth ファイルに ipython 0.12.1 を追加する

/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(メイン())
  ファイル "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/setuptools/command/easy_install.py"、1915 行目、メイン
    with_ei_usage(ラムダ:
  ファイル "/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 (仕様、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, "Using")
  ファイル "/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、解決中
    requirements.extend(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 にアップグレードするにはどうすればよいですか?

4

2 に答える 2

11

これは、EPD7.3を使用したSnowLeopardで機能しました。

sudo easy_install -U ipython
于 2012-10-02T14:59:01.197 に答える
8

ubuntu ユーザーは、この手順に従ってください。

pip install ipython --upgrade
于 2014-04-22T13:25:26.797 に答える