windows 10, pip install 安装无任何响应: pip is configured with locations that require TLS/SSL, however the

在Windows环境中使用pip安装Python包时遇到无响应问题,原因是缺少SSL模块。通过将Anaconda的SSL相关文件移动到DLLs目录下,成功解决了此问题。参考了GitHub和StackOverflow上的解决方案。
摘要由CSDN通过智能技术生成

最近使用windows开发,在pip安装包时无任何响应。

$ ./venv/Scripts/pip install TA-Lib
Looking in indexes: http://pypi.tuna.tsinghua.edu.cn/simple

经过各种配置后还会出现:

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

查询资料后解决方法如下:

将anaconda 的\Library\bin的关于认证的文件,移动到anaconda 的DLLs下面:

libcrypto-1_1-x64.*
libssl-1_1-x64.*

比如: C:\Users\MyUser\Miniconda3\Library\bin 到 C:\Users\MyUser\Miniconda3\DLLs

reference:

Can't connect to HTTPS URL because the SSL module is not available · Issue #8273 · conda/conda · GitHub

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available - Stack Overflow

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值