python3.6 pip 出现locations that require TLS/SSL异常解决方案
在给CentOS服务器安装完Python3.6后,使用pip命令出现问题,提示说无法找到ssl模块。
上网查询后发现在安装Python3.6时没有安装openssl-devel依赖库,解决方案如下:
查看openssl安装包,会发现缺少openssl-devel包
# rpm -aq | grep openssl
yum安装openssl-devel
# yum -y install openssl-devel
查看安装结果
# rpm -aq | grep openssl
重新对Python3.6进行编译安装
# cd Python-3.6.
# ./configure prefix=/usr/local/python3
# make && make install
重试pip install xxx
问题解决!
python3.6 pip 出现locations that require TLS/SSL异常解决方案的更多相关文章
- python pip 出现locations that require TLS/SSL异常处理方法
		
python pip 出现locations that require TLS/SSL异常处理方法 转载 郑才华 发布于2018-03-24 21:41:16 阅读数 51844 收藏 展开 最近在r ...
 - 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.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 ...
 - 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 ...
 - 编译安装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 ...
 - 【转】python多版本并存,python3安装pip
		
python3 与 pip3 安装与使用 1. yum -y install openssl* (pip依赖ssl环境) 2.编译安装python3 下载地址:https://www.python ...
 - Linux下快速安装Python3和pip
		
如果本机安装了python2,尽量不要管他,使用python3运行python脚本就好,因为可能有程序依赖目前的python2环境, 比如yum!!!!! 不要动现有的python2环境! 一.安装p ...
 
随机推荐
- MySql解除安全模式:Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column.
			
在修改一条数据字段时报错: Error Code: 1175. You are using safe update mode and you tried to update a table witho ...
 - 用appuploader生成发布证书和描述性文件
			
本帖最后由 长发飘 于 2017-4-13 12:34 编辑 之前用AppCan平台开发了一个应用,平台可以同时生成安卓版和苹果版,想着也把这应用上架到App Store试试,于是找同学借了个苹果开发 ...
 - 5 个免费的受欢迎的 SQLite 管理工具【申明:来源于网络】
			
5 个免费的受欢迎的 SQLite 管理工具 包含内容: SQLite Expert – Personal Edition SQLite Expert 提供两个版本,分别是个人版和专业版.其中个人版是 ...
 - [.net 面向对象程序设计深入](26)实战设计模式——策略模式 Strategy (行为型)
			
[.net 面向对象程序设计深入](26)实战设计模式——策略模式 Strategy (行为型) 1,策略模式定义 策略模式定义了一系列的算法,并将每一个算法封装起来,而且使它们还可以相互替换.策略模 ...
 - vue-cli的跨域设置
			
概述 今天打算快速使用vue-cli建立一个小应用用于测试,使用axios发送http请求,但是遇到了跨域问题,总结了一下,供以后开发时参考,相信对其他人也有用. vue-cli的跨域设置 在vue. ...
 - [Swift]LeetCode104. 二叉树的最大深度 | Maximum Depth of Binary Tree
			
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the long ...
 - Linux(Ubuntu) OpenGL 开发环境
			
Linux(Ubuntu) OpenGL 开发环境 在 PC 平台上开发 OpenGL 可以使用的辅助工具有很多选择,这里我主要参考了 learnopengl 的配置,使用 GLFW 和 GLAD. ...
 - python网络-多线程(22)
			
一.什么是线程 线程(英语:thread)是操作系统能够进行运算调度的最小单位.它被包含在进程之中,是进程中的实际运作单位.同一进程中的多条线程将共享该进程中的全部系统资源,一个进程可以有很多线程,每 ...
 - selenium下拉到页面最底端
			
selenium操控浏览器下拉到页面最底端: #!/usr/bin/env python # -*- coding: utf-8 -*- from selenium import webdriver ...
 - .NET Core实战项目之CMS 第六章 入门篇-Vue的快速入门及其使用
			
写在前面 上面文章我给大家介绍了Dapper这个ORM框架的简单使用,大伙会用了嘛!本来今天这篇文章是要讲Vue的快速入门的,原因是想在后面的文章中使用Vue进行这个CMS系统的后台管理界面的实现.但 ...