/ / Qualcuno può aiutarmi, su L'errore python requests.get - python, ssl, python-richieste

qualcuno può aiutarmi, a proposito di python request.get error - python, ssl, python-requests

quando io faccio req = requests.get(url,verify=False) mi ha appena detto errore E i messaggi di errore seguono:

OpenSSL.SSL.SysCallError: (-1, "Unexpected EOF")

During handling of the above exception, another exception occurred:
ssl.SSLError: ("bad handshake: SysCallError(-1, "Unexpected EOF")",)

During handling of the above exception, another exception occurred:
urllib3.exceptions.SSLError: ("bad handshake: SysCallError(-1, "Unexpected EOF")",)

During handling of the above exception, another exception occurred:
requests.exceptions.SSLError: ("bad handshake: SysCallError(-1, "Unexpected EOF")",)

Ho cercato la soluzione per un giorno. Qualcuno potrebbe aiutarmi!

risposte:

0 per risposta № 1

Ho appena incontrato la stessa domanda con te ieri sera, solo perché la tua versione di Python è più bassa, vedi questo problema:
InsecurePlatformWarning: un vero oggetto SSLContext non è disponibile. Ciò impedisce a urllib3 di configurare correttamente SSL è simile al tuo.

sì, aggiorno python alla 2.7.10, ma dopo ho scoperto che non posso installare le terze librerie, ho una domanda postata qui come aggiornare python alla 2.7.10 su ubuntu12.04