python使用easy_install错误一例

$easy_install simplejson

Searching for simplejson

Reading https://pypi.python.org/simple/simplejson/

Download error on https://pypi.python.org/simple/simplejson/: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!

Couldn't find index page for 'simplejson' (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/: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!

No local packages or download links found for simplejson

error: Could not find suitable distribution for Requirement.parse('simplejson')

 

解决:

sudo yum install openssl-devel

 

 

你可能感兴趣的:(easy_install)