[Tutor] SSL Error
Saket Mehrotra
mehrotra.saket at gmail.com
Wed Aug 1 00:07:11 EDT 2018
Hi
I am also not using any Open SSL package.
I have just added " import requests" in py file. And when I run the module
I get the SSL package error ,not sure why.
Thanks
Saket
On Tue, Jul 31, 2018 at 10:28 PM, Marc Tompkins <marc.tompkins at gmail.com>
wrote:
> This is a general Python tutor group; I'm not sure anybody here can help
> you with the OpenSSL package (I've definitely never used it myself.) We're
> all willing to help, but this might not be the right place to ask this
> question.
>
> More to the point, though, when you ask questions on this list it's best
> to just cut and paste BOTH your code and the actual error
> message/traceback; from the bit that you've posted, it sounds like it might
> be as simple as a typo, but we can't really tell without seeing your code.
>
> On Mon, Jul 30, 2018 at 7:52 PM, Saket Mehrotra <mehrotra.saket at gmail.com>
> wrote:
>
>> 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 at python.org
>> To unsubscribe or change subscription options:
>> https://mail.python.org/mailman/listinfo/tutor
>>
>
>
More information about the Tutor
mailing list