本文介绍了为什么不点子安装软件包的当前版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法获得pip来安装当前版本的pydot(1.0.28).尽管yolk PyPi 都将此版本报告为可用的当前版本

I can't get pip to install the current version of pydot (1.0.28). Though yolk and PyPi both report this version as the available, current one,

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

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

推荐答案

尝试一下:

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

这篇关于为什么不点子安装软件包的当前版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 00:33