3

何らかの形で、この質問はすでに尋ねられています...だから私の謝罪を受け入れてください...

ここからmatplotlibの最新バージョンをインストールしようとしています: http://pypi.python.org/pypi/matplotlib/1.0.1

ソースをダウンロードし、解凍してコンパイルできることは知っていますが、多くのマシンにインストールする必要があり、pip は至福のはずです。

だから、私は easy_install pip を実行しました。ここでは、両方のツールで取得した出力を示します。

$ sudo easy_install "matplotlib==1.0.1"

install_dir /usr/local/lib/python2.6/dist-packages/
Searching for matplotlib==1.0.1
Reading http://pypi.python.org/simple/matplotlib/
Reading http://matplotlib.sourceforge.net
Reading https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0
Reading https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.3/
Reading http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194
Reading http://sourceforge.net/project/showfiles.php?group_id=80706
Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
Reading https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/
Reading https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/
No local packages or download links found for matplotlib==1.0.1
error: Could not find suitable distribution for Requirement.parse('matplotlib==1.0.1')

またはピップで:

$ pip install matplotlib==1.0.1
Downloading/unpacking matplotlib==1.0.1
  Could not find a version that satisfies the requirement matplotlib==1.0.1 (from versions: )
No distributions matching the version for matplotlib==1.0.1
Storing complete log in /home/oz/.pip/pip.log

洞察と提案は大歓迎です...

オズ

4

1 に答える 1

9
pip install -f  http://garr.dl.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.0.1/matplotlib-1.0.1.tar.gz  matplotlib

ここから: PyPi がバージョン 1.0.0 を示しているときに、pip が matplotlib バージョン 0.91.1 をインストールするのはなぜですか?

ごめん ...

于 2011-01-24T11:57:39.287 に答える