gpt4 book ai didi

matplotlib - 使用 pypi 安装最新的 matplotlib 版本

转载 作者:行者123 更新时间:2023-12-03 22:28:05 29 4
gpt4 key购买 nike

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

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

我们将非常欢迎您的见解和建议...

盎司

最佳答案

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?

对不起……

关于matplotlib - 使用 pypi 安装最新的 matplotlib 版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4781434/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com