This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: How to fix? Error in Kali linux python 2.7 - Collecting pip From cffi callback : Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 309, in wrapper
Type: Stage: resolved
Components: Versions: Python 2.7
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: andy polandski, benjamin.peterson
Priority: normal Keywords:

Created on 2018-09-06 16:09 by andy polandski, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg324702 - (view) Author: andy polandski (andy polandski) Date: 2018-09-06 16:09
root@kali:~# python get-pip.py
Collecting pip
From cffi callback <function _verify_callback at 0x7f9b12e56050>:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 309, in wrapper
    _lib.X509_up_ref(x509)
AttributeError: 'module' object has no attribute 'X509_up_ref'
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",),)': /simple/pip/
msg324929 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2018-09-10 16:05
This seems likely to be a bug in the Kali distribution.
History
Date User Action Args
2022-04-11 14:59:05adminsetgithub: 78779
2018-09-10 16:05:49benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg324929

resolution: third party
stage: resolved
2018-09-06 16:09:03andy polandskicreate