Pypi说there is a new version on their website。
pip search
告诉我我有一个旧版本,而且还有一个新版本。
(Canopy 64bit) Johns-iMac:~ john$ pip search deap
deap - Distributed Evolutionary Algorithms in Python
INSTALLED: 1.0.1
LATEST: 1.0.2
但所有覆盖的pip install -U
表示没有新版本。
(Canopy 64bit) Johns-iMac:~ john$ pip install -U --allow-unverified --allow-external deap==1.0.2
Collecting deap==1.0.2
Could not find a version that satisfies the requirement deap==1.0.2 (from versions: 0.9.1, 0.9.2, 1.0.0rc3, 1.0.0, 1.0.1)
No distributions matching the version for deap==1.0.2
我忽略了什么愚蠢的细节?
答案 0 :(得分:2)
我有同样的行为。如果您不一定需要稳定版本,则可以从主存储库https://github.com/DEAP/deap
安装pip install git+https://github.com/DEAP/deap
pip search deap
deap - Distributed Evolutionary Algorithms in Python
INSTALLED: 1.1.0
LATEST: 1.0.2