[Tutor] SSL Error

Marc Tompkins marc.tompkins at gmail.com
Tue Jul 31 13:19:32 EDT 2018

On Tue, Jul 31, 2018 at 10:03 AM, Alan Gauld via Tutor <tutor at python.org>

> On 31/07/18 03:52, Saket Mehrotra wrote:
> > error  ssl.PROTOCOL_SSLv23: OpenSSL.SSL.SSLv23_METHOD,
> > AttributeError: module 'ssl' has no attribute 'PROTOCOL_SSLv23'
> Are you sure you spelled the attribute correctly?
> Have you tried
> >>> import ssl
> >>> dir(ssl)
> Top see what the attribute names look like?
> Is PROTOCOL_SSLv23 one of them?
> What I was getting at earlier: it isn't clear, without seeing his code,
whether he's directly asking for PROTOCOL_SSLv23, or whether it's an
internal result of a call he made.  If it's the first, then the problem is
with his code; if it's the second, it's a problem with how the package is
built on his machine.  Really can't tell without context.

More information about the Tutor mailing list