pip ошибка after connection broken by ‘SSLError

From cffi callback <function _verify_callback at 0x7fd954adf758>:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 313, 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', 'tls_process_server_certificate', 'certificate verify failed')],)",),)': /simple/pyopenssl/
From cffi callback <function _verify_callback at 0x7fd951ff0488>:
Traceback (most recent call last):

Решение

pip uninstall pyOpenSSL cryptography
pip install pyOpenSSL cryptography

 

Python

Related Articles

0 Comment

Leave a Comment

Ваш адрес email не будет опубликован.