pip is configured with locations that require TLS/SSL, however the ssl module in Python is not avail
linux环境下
首先明确问题出现原因,是因为openssl版本过低或者不存在 so:
查看openssl安装包,发现缺少openssl-devel包
[root@localhost ~]# rpm -aq|grep openssl
openssl-0.9.8e-20.el5
openssl-0.9.8e-20.el5
[root@localhost ~]#
yum安装openssl-devel
[root@localhost ~]# yum install openssl-devel -y
查看安装结果
[root@localhost ~]# rpm -aq|grep openssl
openssl-0.9.8e-26.el5_9.1
openssl-0.9.8e-26.el5_9.1
openssl-devel-0.9.8e-26.el5_9.1
openssl-devel-0.9.8e-26.el5_9.1
重新对python3.6进行编译安装,用一下过程来实现编译安装:
cd Python-3.6.4
./configure --with-ssl
make
sudo make install
Windows环境下:
解决方法为到https://slproweb.com/products/Win32OpenSSL.html上下载winopessl,直接下载第一个MSI安装即可:
之后问题就解决了
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not avail相关推荐
- 解决pip is configured with locations that require TLS/SSL问题
解决pip is configured with locations that require TLS/SSL问题 参考文章: (1)解决pip is configured with location ...
- python3 pip 报错 pip is configured with locations that require TLS/SSL
python3 pip 安装时报错: pip is configured with locations that require TLS/SSL, however the ssl module in ...
- pip is configured with locations that require TLS/SSL 解决
pip安装numpy时报错: pip is configured with locations that require TLS/SSL 解决方法 其实还是 Anaconda 环境变量的问题. 进入 ...
- python3.7安装pip问题_python3.7安装, 解决pip is configured with locations that require TLS/SSL问题...
1.安装相关依赖 yum install gcc libffi-devel zlib* openssl-devel # libffi-devel zlib-devel bzip2-devel open ...
- python3.7 pip安装_python3.7安装, 解决pip is configured with locations that require TLS/SSL问题...
python3.7安装, 解决pip is configured with locations that require TLS/SSL问题 1.安装相关依赖 yum install gcc libf ...
- python3.7安装, 解决pip is configured with locations that require TLS/SSL问题
python3.7安装, 解决pip is configured with locations that require TLS/SSL问题 1.安装相关依赖 yum install gcc libf ...
- 「Python-Bug」pip is configured with locations that require TLS/SSL
背景 系统:Ubuntu 18.04 从Python官网下载了Python3.6.8的安装包,根据官网的安装步骤,装完后,直接在终端sudo apt-get install python3-pip,安 ...
- pip is configured with locations that require TLS/SSL, however the ssl module in Python is not avai
安装个新的python,结果pip一直不能用,不能联网,是因为python安装的时候,没有安装ssl模块 这个模块对应的软件是openssl 要求版本比较特殊 Could not build the ...
- pip is configured with locations that require TLS/SSL
问题描述 参考链接:https://blog.csdn.net/u012206617/article/details/106494990 解决方案 https://slproweb.com/produ ...
最新文章
- 计算机网络的性能指标和非性能特征
- [通用技术]在不同语言中用协程实现全排列算法(C++/Lua/Python/C#)
- 防护很重要!教你教你认识和检验安防产品的IP防护等级
- 运用UE和Blocks,仅用两周打造一个VR游戏(52VR完整版译文)
- oracle case grouping,ORACLE GROUPING函數的使用
- tornado异步请求非阻塞
- Linemod;理解
- 爬取淘宝定价需要多久时间_如何对设计工作进行定价—停止收​​取时间并专注于价值
- 计算机设备投标标书范本,OA办公自动化系统投标文件(标书范本)
- goland配置mysql失败_GoLand配置数据库、远程host以及远程调试
- 蓝桥杯2015年第六届C/C++省赛A组第七题-手链样式
- SQL Server性能常用语句
- 跨平台iOS自动化测试工具——tidevice安装及使用
- FastStone Capture:Windows系统下小巧好用的宝藏电脑截图软件
- 系统测试(学习笔记)
- idea社区版本生成类图
- 让Ipad买前爱奇艺买后生产力——浏览器编程之Projector运行Idea(超详细)
- 联想昭阳E43闪屏|屏幕有亮线|问题交流QQ群群号
- win7睡眠功能无法使用(睡眠按钮变灰)
- 计算机提升三年计划教师,教师个人发展三年工作计划3篇
热门文章
- 哈佛大学单细胞课程|笔记汇总 (二)
- python购物车典例_Python实现的购物车功能示例
- 提高篇 第五部分 动态规划 第4章 状态压缩类动态规划
- 移动端点击拉起输入_没广告、无捆绑、真清流!讯飞输入法PC版评测:跨屏语音动口不动手...
- 学生汽车网页设计作品静态HTML网页模板源码 大学生汽车网站制作 简单汽车网页设计成品
- 计算机二级考试题 花纹,练习五(计算机二级考试OFFICE高级应用考试卷).doc
- Vue笔记-vue3中.en.dev文件及axios.defaults.baseURL的使用
- Spring Boot文档阅读笔记=Caching Data with Spring
- Qt笔记-获取Windows下目前运行的进程信息
- Java笔记-使用jpa连接mysql数据库