为什么不赢得pip安装当前版本的软件包?

时间:2014-04-04 17:00:54

标签: python pip packages pydot

我无法让pip安装当前版本的pydot(1.0.28)。虽然yolkPyPi都将此版本报告为可用的当前版本,

pip -U pydot

给了我

Requirement already up-to-date: pydot in /Library/Python/2.7/site-packages
Requirement already up-to-date: pyparsing in /Library/Python/2.7/site-packages (from pydot)
Requirement already up-to-date: setuptools in /Library/Python/2.7/site-packages (from pydot)

使用

强制使用当前版本

pip -U pydot==1.0.28

给了我

Downloading/unpacking pydot==1.0.28
  Could not find a version that satisfies the requirement pydot==1.0.28 (from versions: 1.0.2)
  Some externally hosted files were ignored (use --allow-external to allow).
Cleaning up...
No distributions matching the version for pydot==1.0.28

甚至

pip -U --allow-external pydot pydot==1.0.28

给了我

Downloading/unpacking pydot==1.0.28
  Could not find a version that satisfies the requirement pydot==1.0.28 (from versions: 1.0.2)
  Some insecure and unverifiable files were ignored (use --allow-unverified pydot to allow).
Cleaning up...
No distributions matching the version for pydot==1.0.28

1 个答案:

答案 0 :(得分:1)

试试这个:

pip install --allow-unverified pydot pydot==1.0.28