您尚未登录。

楼主 # 2023-09-22 00:20:36

演技担当黄晓明
会员
注册时间: 2017-10-17
已发帖子: 183
积分: 121.5

pip 安装组件时候报 SSL module is not available

pip 23.2.1 from C:\Programs\Python\Python311\Lib\site-packages\pip (python 3.11)

pip安装软件包时报错

Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

说是SSL 的软件版本的问题,但是下载了requests-2.29.0 也没法安装上去
把 libssl-1_1-x64.dll   libcrypto-1_1-x64.dll拷贝到Windows\system32目录都没有用


有大神知道怎么弄吗?

离线

楼主 #1 2023-09-22 00:56:39

演技担当黄晓明
会员
注册时间: 2017-10-17
已发帖子: 183
积分: 121.5

Re: pip 安装组件时候报 SSL module is not available

Windows python安装的时候一定要选中precompile standard library

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn