Python pypi download broken on Win8.1, how to fix ? ( typical error message: _ssl.c:507: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed )

135 views
Skip to first unread message

Rolf Hemmerling

unread,
Apr 2, 2014, 12:33:30 PM4/2/14
to pyth...@googlegroups.com
Hello,
on my Win8.1 computer,

a)
with latest Python x,y 2.7.6.0 distribution installed,
and I also tried with some earlier 2.7.5.x distributions,

since lately, I can´t download and install by easy_install from pypi .

So a command like "easy_install behave" failes by:
***********************
Searching for behave
Reading https://pypi.python.org/simple/behave/
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
easy_install : Download error on https://pypi.python.org/simple/behave/: [Errno 1] _ssl.c:507: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!
Couldn't find index page for 'behave' (maybe misspelled?)
Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:507: 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 behave
error: Could not find suitable distribution for Requirement.parse('behave')
***********************

Same with any other pypi package.
Obviously SSL download is broken.

b)
I had no problem with Python x.y 2.7.6.0 distribution on another Win7 computer,
there is everything ok with EASY_INSTALL.

c)
On the other hand, on the computer where EASY_INSTALL fails,
with the latest Anaconda 1.9.1 distribution
there is everything ok with EASY_INSTALL - I can do the installation "easy_install behave" successfully, and I may there use the "Conda" installer too ( which does not download from pypi ).

The reason why I like to use Python x,y instead of Anaconda for the next steps, is that a working version of QT is installed with Python x,y but not with Anaconda.
And I am hesitating what's wrong at all with my computer that Python x,y network SSL connections fail!

I did not find any clue by Internet search, some indications are that I have invalid certificates loaded..  but how to fix it, on Windows?!
There was also the tip to install a very-old PIP 1.2.1 which does not yet use SSL,
but other people in the Internet pointed to the fact, that most instructions how to install PIP require a working EASY_INSTALL and vice versa.
And this does not explain anything.

So any help or hint is appreciated!
 
Sincerely
Rolf

Gabi Davar

unread,
Apr 29, 2014, 5:13:28 PM4/29/14
to pyth...@googlegroups.com
If you're in a corporate network check with your sys admin.
Reply all
Reply to author
Forward
0 new messages