Hi

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
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to