Python - pip install 找不到匹配的版本

Python - pip install not found matching version

我有一台 CentOS 6.9 的机器,出于各种原因我被迫使用 python2.6.6。当我尝试使用 pip 下载库时,我尝试:

sudo -E pip install someLibrary

我得到 pandas 例如

Could not find a version that satisfies the requirement pandas (from versions: ) No matching distribution found for pandas

我怀疑这与我使用的 python 版本有关,并且存储库已被移动或其他原因。有什么想法吗?

pip install someLibrary
…
No matching distribution found for pandas 

呵呵,混淆失败。 :-))) 下次再努力……如果你不想要答案……

嗯,pandas不支持Python2.6,只支持2.7+。

Version 0.17.1 似乎是最后一个支持 Python 2.6 的。使用 pip 安装

pip install pandas==0.17.1

或来自sources.