pip is configured with locations that require TLS/SSL, however the ssl module in Python is not avail
2017-08-17 16:21
936 查看
找公司新开了一个云主机CentOS release 6.8,pip3安装库的时候报
用base镜像源下载。
之后再pip3安装成功
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
python3 -m pip install markupsafe pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Collecting markupsafe Could not fetch URL https://pypi.python.org/simple/markupsafe/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping Could not find a version that satisfies the requirement markupsafe (from versions: ) No matching distribution found for markupsafe
sudo yum install openssl-devel
用base镜像源下载。
yum --enablerepo=base --enablerepo=updates install openssl-devel ./configure --enable-optimizations make altinstall
之后再pip3安装成功
相关文章推荐
- pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
- 使用pip安装软件时报pip is configured with locations that require TLS/SSL, however the ssl modul错误
- ubuntu下使用pip3.6安装模块总是报ssl module in Python is not available的错误
- python pip 出现locations that require TLS/SSL异常处理方法
- Python3下的ssl certificate:Can't connect to HTTPS URL because the SSL module is not available.问题解决
- Mysql 出现错误The server is not configured as slave; fix in config file or with CHANGE MASTER TO
- mySql主从配置出错:The server is not configured as slave; fix in config file or with CHANGE MASTER TO
- WCF分布式开发常见错误(23):This could be due to the fact that the server certificate is not configured properly with HTTP.SYS
- [BTS] Loading property information list by namespace failed or property not found in the list. Verify that the schema is deployed properly.
- The current branch is not configured for pull No value for key branch.master.merge found in config
- The current branch is not configured for pull No value for key branch.develop.merge found in configu
- The current branch is not configured for pull No value for key branch.master.merge found in config
- 解决The current branch is not configured for pull No value for key branch.master.merge found in config
- “Could not establish trust relationship for the SSL/TLS secure channel with authority”
- iOS "The sandbox is not in sync with the Podfile.lock"
- The error indicates that IIS is in 64 bit mode, while this application is a 32 bit application and thus not compatible
- The type 'System.Data.Objects.DataClasses.EntityObject' is defined in an assembly that is not refere
- WCF : 修复 Security settings for this service require Windows Authentication but it is not enabled for the IIS application that hosts this service 问题
- pip安装模块警告InsecurePlatformWarning: A true SSLContext object is not available.
- Python: The _imagingft C module is not installed错误的解决