New submission from Luc Zimmermann:
Hi Guys,
I've a strange behavior.
We use python for configure our new boxes with openWRT and coovaChilli.
But since yesterday, when i ask to pip to dowload PyJWT, json-cfg and
speedtest-cli,
some boxes can download these packages, and some can't.
root@OpenWrt:~# cat /root/.pip/pip.log
/usr/bin/pip run on Thu Apr 13 18:46:19 2017
Downloading/unpacking PyJWT
Getting page https://pypi.python.org/simple/PyJWT/
Could not fetch URL https://pypi.python.org/simple/PyJWT/: connection error:
[SSL: CERTIFICATE_VERIFY_FAILED] unknown error (_ssl.c)
Will skip URL https://pypi.python.org/simple/PyJWT/ when looking for download
links for PyJWT
Getting page https://pypi.python.org/simple/
Could not fetch URL https://pypi.python.org/simple/: connection error:
HTTPSConnectionPool(host='pypi.python.org', port=443): Max r)
Will skip URL https://pypi.python.org/simple/ when looking for download links
for PyJWT
Cannot fetch index base URL https://pypi.python.org/simple/
URLs to search for versions for PyJWT:
* https://pypi.python.org/simple/PyJWT/
Getting page https://pypi.python.org/simple/PyJWT/
Could not fetch URL https://pypi.python.org/simple/PyJWT/: connection error:
[SSL: CERTIFICATE_VERIFY_FAILED] unknown error (_ssl.c)
Will skip URL https://pypi.python.org/simple/PyJWT/ when looking for download
links for PyJWT
Could not find any downloads that satisfy the requirement PyJWT
Cleaning up...
Removing temporary dir /tmp/pip_build_root...
No distributions at all found for PyJWT
Exception information:
Traceback (most recent call last):
File
"/usr/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/basecommand.py", line
122, in main
status = self.run(options, args)
File
"/usr/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/commands/install.py",
line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle,
bundle=self.bundle)
File "/usr/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", line
1177, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "/usr/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/index.py",
line 277, in find_requirement
raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for PyJWT
--
messages: 296708
nosy: Luc Zimmermann
priority: normal
severity: normal
status: open
title: pypi ssl errors [CERTIFICATE_VERIFY_FAILED]
type: resource usage
versions: Python 2.7
___
Python tracker
<http://bugs.python.org/issue30739>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com