首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用pip安装deap

使用pip安装deap
EN

Stack Overflow用户
提问于 2022-08-04 12:12:43
回答 2查看 34关注 0票数 0

使用pip安装包时发生异常。我试过安装deap软件包。怎么能修好呢?

代码语言:javascript
复制
\Local\Programs\Python\Python38>pip install deap
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1108)'))': /simple/deap/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1108)'))': /simple/deap/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1108)'))': /simple/deap/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1108)'))': /simple/deap/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1108)'))': /simple/deap/
Could not fetch URL https://pypi.org/simple/deap/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/deap/ (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1108)'))) - skipping
ERROR: Could not find a version that satisfies the requirement deap
ERROR: No matching distribution found for deap
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1108)'))) - skipping
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2022-08-04 12:23:13

您是否在Config Panel -> internet选项中配置了Internet代理?如果是这样,请禁用它,然后再试一次。如果超时,则使用--proxy http://address:port在命令行中添加代理

src:https://github.com/pypa/pip/issues/9568

票数 0
EN

Stack Overflow用户

发布于 2022-08-04 12:20:00

简单解

从这里下载与您的os对应的包https://pypi.org/simple/deap/

开放终端/cmd

光盘进入下载目录

然后pip安装“深处-..whl”

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73235754

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档