2011-01-24 170 views
3

在某種意義上,這個問題已經被問...所以接受我的道歉......安裝最新版本matplotlib在PyPI

我想從這裏安裝最新版本的matplotlib的: http://pypi.python.org/pypi/matplotlib/1.0.1

我知道我可以下載該軟件,解壓縮並編譯它,但是我將它安裝在許多機器上,並且pip應該是一個幸福。

所以,我做的easy_install點子,我在這裏用這兩個工具得到的輸出:

$ 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:

$ 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 

見解和建議,將主要的歡迎.. 。

奧茲

回答

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

從這裏: Why does pip install matplotlib version 0.91.1 when PyPi shows version 1.0.0?

對不起......

+0

定期檢查更新http://sourceforge.net/projects/matplotlib/files/matplotlib +你可以在HTTP預編譯庫:// sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/ – meduz 2011-05-14 10:10:15