WARNING: pip is configured with locations that require TLS/SSL

在pycharm中运行pip下载软件包遇到该问题:WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available
在这里插入图片描述
原因:没有安装openssl;
到https://slproweb.com/products/Win32OpenSSL.html下载winopenssl即可。
在这里插入图片描述
转载:https://www.cnblogs.com/123456www/p/12584701.html

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 这个警告信息通常表示在Python中缺少ssl模块,导致pip无法正常工作。这可能是由于系统配置或Python安装中的问题导致的。 针对这个问题,有几种解决方法可以尝试: 1. 确保安装了openssl库和相应的开发包:在Debian/Ubuntu系统上,可以使用以下命令安装: sudo apt-get install openssl libssl-dev 2. 检查Python是否正确安装了ssl模块:可以使用以下命令检查Python是否安装了ssl模块: python -m ssl 3. 如果ssl模块确实缺失,可以尝试重新编译和安装Python,确保在编译过程中启用了ssl支持。具体步骤可以参考相关的Python编译文档。 4. 可以尝试更新pip和setuptools到最新版本,使用以下命令: python -m pip install --upgrade pip setuptools 5. 如果上述方法仍然无法解决问题,可能需要进行更深入的调查和分析。可以搜索相关的错误信息,查找其他用户可能遇到的类似问题和解决方法。 请根据你使用的操作系统和Python版本选择适合的解决方法,并根据需要进行尝试。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *3* [python 安装: WARNING: pip is configured with locations that require TLS/SSL, however the ssl module...](https://blog.csdn.net/weixin_43781229/article/details/111827939)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* [Ubuntu/Deepin下Python3.8出现SSL错误的解决方案](https://download.csdn.net/download/weixin_38641561/14042425)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值