用easy_install時出現unknown url type: https问题
2016-03-03 14:13
525 查看
用easy_install時出現unknown url type: https问题
[root@localhost setuptools-1.0]# /usr/local/python27/bin/easy_install virtualenv
Searching for virtualenv
Reading https://pypi.python.org/simple/virtualenv/
Download error on https://pypi.python.org/simple/virtualenv/: unknown url type: https – Some packages may not be found!
Couldn’t find index page for ‘virtualenv’ (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: unknown url type: https – Some packages may not be found!
No local packages or download links found for virtualenv
error: Could not find suitable distribution for Requirement.parse(‘virtualenv’)
解决办法:
1.yum install openssl-devel
2.重新编译安装python
3.easy_install virtualenv
[root@localhost setuptools-1.0]# /usr/local/python27/bin/easy_install virtualenv
Searching for virtualenv
Reading https://pypi.python.org/simple/virtualenv/
Download error on https://pypi.python.org/simple/virtualenv/: unknown url type: https – Some packages may not be found!
Couldn’t find index page for ‘virtualenv’ (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: unknown url type: https – Some packages may not be found!
No local packages or download links found for virtualenv
error: Could not find suitable distribution for Requirement.parse(‘virtualenv’)
解决办法:
1.yum install openssl-devel
2.重新编译安装python
3.easy_install virtualenv
相关文章推荐
- Could not fetch specs from https://rubygems.org/
- Nginx之Https最佳实践
- TCP,RMI,WebService,JMS,Hessian,AMQP区别说明
- 神经网络隐含层节点数
- OkHttp的Interceptor原理分析
- 关于angularjs $asyncValidators $http的异步验证扩展踩过的那些坑
- vmware 虚拟机下网络设置 桥接及NAT
- 在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误
- Android studio导入工程很卡及下载网络jar很慢问题总结
- Android studio导入工程很卡及下载网络jar很慢问题总结
- HTTP API响应数据规范
- 机会网络路由学习之Controlled Routing
- IOS http请求的get 和 post的请求的区别
- nginx的http2.0性能太逆天了,HTTPS网站性能优化
- 简单描述http的请求过程
- 简单说下tcp/udp的区别,udp咋可以模拟tcp
- http通信,Android Gzip压缩解压
- 一步一步学网络爬虫(从python到scrapy)
- tomcat实现https登录
- selinux 导致无法启动httpd