python pip 出现locations that require TLS/SSL异常处理方法
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https:*******: There was a problem confirming the ssl certificate: 
Can't connect to HTTPS URL because the SSL module is not available. - skipping
本人查阅资料发现,在./configure过程中,如果没有加上–with-ssl参数时,默认安装的软件涉及到ssl的功能不可用,
刚好pip3过程需要ssl模块,而由于没有指定,所以该功能不可用。
- 查看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                                    
python pip 出现locations that require TLS/SSL异常处理方法的更多相关文章
- python3.7.2 pip 出现locations that require TLS/SSL异常处理方法
		centos7安装python3.7.2后,运行 pip3 install tornado 会报错 [root@localhost ~]# pip3 install tornado pip is co ... 
- python3.6 pip 出现locations that require TLS/SSL异常解决方案
		在给CentOS服务器安装完Python3.6后,使用pip命令出现问题,提示说无法找到ssl模块. 上网查询后发现在安装Python3.6时没有安装openssl-devel依赖库,解决方案如下: ... 
- pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
		# 背景 安装pip后发现执行pip install pytest,提示下面错误 pip is configured with locations that require TLS/SSL, howe ... 
- pip install 时报错 pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
		pip install 时报错: pip is configured with locations that require TLS/SSL, however the ssl module in Py ... 
- 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 libff ... 
- 解决pip is configured with locations that require TLS/SSL问题
		python3.7安装, 解决pip is configured with locations that require TLS/SSL问题1.安装相关依赖 yum install gcc libff ... 
- 编译安装Python出现“pip is configured with locations that require TLS/SSL, however the ssl.....”
		ubuntu: sudo apt-get install libssl-dev Cenos: sudo yum install openssl-devel 重新编译: ./configure --en ... 
- 解决 windows下安装Anaconda后python pip不可用的情况
		在windows系统下通过安装Anaconda的方式安装的python使用中发现不能再通过pip安装python包.只能通过conda install packname 的方法,导致很多conda不支 ... 
- python  pip  install  XXX出现报错问题
		重装Anacondas后,将pip 和python.exe路径加入到环境变量后直接在cmd窗口进行pip 操作,报错如下 报错内容为: pip is configured with locations ... 
随机推荐
- React Native 中 component 生命周期
			React Native 中 component 生命周期 转自 csdn 子墨博客 http://blog.csdn.net/ElinaVampire/article/details/518136 ... 
- 服务器做raid1后安装windows server 2012遇到的问题
			问题: 在服务器上用2个300G的硬盘做了raid1之后,其他的盘做的raid5,安装windows server 2012的时候,到安装界面发现raid1的那个盘是600G,而且在这个磁盘上安装操作 ... 
- TypeScript的变量声明
			1.全新的变量声明方式 let和const是JavaScript ES6中新添加的变量声明方式.let在很多方面与var是相似的,但是它可以避免一些在JavaScript里常见一些问题. 而const ... 
- javaSE总结(一)-java数据类型和运算符
			一.注释 (1)单行注释: // (2)多行注释:/* */ (3)文档注释:/** */ 二.标识符和关键字 (1)分隔符:分号; 花括号{} 方括号[] 圆括号() 空格 圆点(.) ... 
- shell习题第11题:输入数字执行命令
			[题目要求] 写一个脚本实现如下功能:输入一个数字,然后运行对应的一个命令 显示命令如下: *cmd menu* 1--data 2--ls 3--who 4--pwd 输入1时,会运行data [ ... 
- Python 装饰&生成&迭代器
			Python 的创始人为吉多·范罗苏姆(Guido van Rossum).1989年的圣诞节期间,吉多·范罗苏姆为了在阿姆斯特丹打发时间,决心开发一个新的脚本解释程序,作为ABC语言的一种继承.Py ... 
- python 定时爬取内容并发送报告到指定邮箱
			import requests import smtplib import schedule import time from bs4 import BeautifulSoup from email. ... 
- 图数据库-Neo4j-常用算法
			本次主要学习图数据库中常用到的一些算法,以及如何在Neo4j中调用,所以这一篇偏实战,每个算法的原理就简单的提一下. 1. 图数据库中常用的算法 PathFinding & Search 一般 ... 
- C# Redis分布式锁的应用 - 叶子栈 - SegmentFault 思否
			原文:C# Redis分布式锁的应用 - 叶子栈 - SegmentFault 思否 叶子 1 微信扫一扫 新浪微博 Twitter Facebook C# Redis分布式锁的应用 c#redis分 ... 
- mysql启动失败“MySQL Daemon failed to start”
			CentOS上,用命令:service mysqld restart 启动mysql报错: # service mysqld restart Stopping mysqld: [ OK ] MySQL ... 
