-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Description
get-pip.py fails to bootstrap PIP installation on my Ubuntu 14.04.1.
~$ curl -o /home/sudhakso/devstack/files/get-pip.py https://bootstrap.pypa.io/get-pip.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1546k 100 1546k 0 0 261k 0 0:00:05 0:00:05 --:--:-- 339k
~$ sudo -H -E python /home/sudhakso/devstack/files/get-pip.py
Collecting pip
Could not find any downloads that satisfy the requirement pip
No distributions at all found for pip
And when I do,
~$ pip install --upgrade pypdf2 -vvv
results in this error -
pip install --upgrade pypdf2 -vvv
Downloading/unpacking pypdf2
Getting page https://pypi.python.org/simple/pypdf2/
Could not fetch URL https://pypi.python.org/simple/pypdf2/: connection error: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Will skip URL https://pypi.python.org/simple/pypdf2/ when looking for download links for pypdf2
Getting page https://pypi.python.org/simple/
Could not fetch URL https://pypi.python.org/simple/: connection error: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Will skip URL https://pypi.python.org/simple/ when looking for download links for pypdf2
Cannot fetch index base URL https://pypi.python.org/simple/
URLs to search for versions for pypdf2:
* https://pypi.python.org/simple/pypdf2/
Getting page https://pypi.python.org/simple/pypdf2/
Could not fetch URL https://pypi.python.org/simple/pypdf2/: connection error: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Will skip URL https://pypi.python.org/simple/pypdf2/ when looking for download links for pypdf2
Could not find any downloads that satisfy the requirement pypdf2
Cleaning up...
Removing temporary dir /tmp/pip_build_sudhakso...
No distributions at all found for pypdf2
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/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/dist-packages/pip/req.py", line 1177, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "/usr/lib/python2.7/dist-packages/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 pypdf2
From the error it is very clear certificate verification failed. But why? Is it because OPEN-SSL version
doesn't support SHA256 MD cipher?
But my openSSL configuration states it support SHA256 for MD.
~$ openssl ciphers -v | grep ^AES256-SHA256
AES256-SHA256 TLSv1.2 Kx=RSA Au=RSA Enc=AES(256) Mac=SHA256
looks a similar issue like #2050
Metadata
Metadata
Assignees
Labels
No labels