您的位置:首页 > 理论基础 > 计算机网络

用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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: