Sto usando Python 2.7.3 e richieste. Ho installato richieste tramite pip. Credo che sia l'ultima versione. Sto correndo su Debian Wheezy.
Ho usato Requests molte volte in passato e non ho mai affrontato questo problema, ma sembra che quando Requestsfaccio richieste https ottengo InsecurePlatformun'eccezione.
L'errore menziona urllib3, ma non l'ho installato. L'ho installato per verificare se ha risolto l'errore, ma non lo ha fatto.
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3
/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not
available. This prevents urllib3 from configuring SSL appropriately and
may cause certain SSL connections to fail. For more information, see
https://urllib3.readthedocs.org/en/latest
/security.html#insecureplatformwarning.
Qualche idea sul perché sto ricevendo questo? Ho controllato i documenti, come specificato nel messaggio di errore, ma i documenti dicono di importare urllib3 e disabilitare l'avviso o fornire un certificato.