用pypi安装最新的matplotlib版本

用pypi安装最新的matplotlib版本

本文介绍了用pypi安装最新的matplotlib版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

已经以某种方式问了这个问题...所以接受我的道歉...

In some way this question was already asked ... so accept my apology ...

我正在尝试从此处安装最新版本的matplotlib: http://pypi.python.org/pypi/matplotlib/1.0.1

I am trying to install the latest version of matplotlib from here:http://pypi.python.org/pypi/matplotlib/1.0.1

我知道我可以下载sorce,untar并进行编译,但是我要在许多机器上安装它,并且pip应该很幸福.

I know I can download the sorce, untar and compile it, but I was to install it on many machines, and pip should be a bliss.

因此,我做了easy_install pip,这是我使用两种工具获得的输出:

So, I did easy_install pip, and here the output I am getting with with both tools:

$ 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

主要欢迎您的见解和建议...

Insights and suggestions will be mostly welcomed ...

Oz

推荐答案

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?

对不起...

这篇关于用pypi安装最新的matplotlib版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 17:24