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
我忽略了什么愚蠢的细节?
最佳答案
我有同样的行为。如果您不需要稳定的发行版,则可以从主存储库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
关于python - 为什么Pip无法安装最新版本的deap?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/29358696/