gpt4 book ai didi

python - 为什么pip无法安装最新版本的deap?

转载 作者:行者123 更新时间:2023-12-01 04:46:10 25 4
gpt4 key购买 nike

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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com