首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >未在Mac上安装Python包

未在Mac上安装Python包
EN

Stack Overflow用户
提问于 2021-07-31 20:24:35
回答 1查看 137关注 0票数 0

我在Catalina上使用PythonAir13‘,并使用PyCharm进行MacBook 3.8.3编码。我一直在尝试使用pip 21.1.3将包安装到项目中,但是,这个问题总是出现:

代码语言:javascript
复制
Could not fetch URL https://pypi.org/simple/audioplayer/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/audioplayer/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)'))) - skipping
ERROR: Could not find a version that satisfies the requirement audioplayer (from versions: none)
ERROR: No matching distribution found for audioplayer
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(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)'))) - skipping

我不知道它是什么意思,也不知道如何修复它。有人能帮上忙吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-07-31 20:27:45

这看起来像是网络错误,尝试添加:

代码语言:javascript
复制
pip3 install  --trusted-host pypi.org <your package>

可能你有什么东西阻止了访问

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

https://stackoverflow.com/questions/68605617

复制
相关文章

相似问题

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