使用 pypi 安装最新的 matplotlib 版本

发布于 2024-10-13 12:27:47 字数 1730 浏览 6 评论 0原文

在某种程度上,这个问题已经被问过......所以接受我的道歉......

我试图从这里安装最新版本的 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:

$ 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

见解和建议将受到欢迎......

Oz

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

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

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.

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')

or with 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

Insights and suggestions will be mostly welcomed ...

Oz

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

煞人兵器 2024-10-20 12:27:48
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?

抱歉...

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

from here:
Why does pip install matplotlib version 0.91.1 when PyPi shows version 1.0.0?

sorry ...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文