[Tutor] SSL Error

Saket Mehrotra mehrotra.saket at gmail.com
Mon Jul 30 22:52:12 EDT 2018


I am trying to run import requests in a py file but I am getting below
error  ssl.PROTOCOL_SSLv23: OpenSSL.SSL.SSLv23_METHOD,
AttributeError: module 'ssl' has no attribute 'PROTOCOL_SSLv23'

I tried to execute below from the terminal but it still remains unresolved.

sudo easy_install --upgrade pip

I've also had to run:

sudo pip uninstall pyopenssl

sudo pip install mozdownload

Can you please help me .

Thanks & Regards
Saket Mehrotra

More information about the Tutor mailing list