ATTRIBUTE ERROR: 'module' object has no attribute 'ssl'

John Machin sjmachin at lexicon.net
Sun Dec 10 00:03:52 EST 2006


John Machin wrote:
> johnny wrote:
> > I am getting the following errors:
>
> That is *one* error.
> >
> >   File "H:\xampp\xampp\xampp\python\lib\httplib.py", line 679, in
> > _send_output
> >     self.send(msg)
> >   File "H:\xampp\xampp\xampp\python\lib\httplib.py", line 646, in send
> >     self.connect()
> >   File "H:\xampp\xampp\xampp\python\lib\httplib.py", line 1073, in
> > connect
> >     ssl = socket.ssl(sock, self.key_file, self.cert_file)
> > AttributeError: 'module' object has no attribute 'ssl'
> >
> > Thank You in Advance
>
> Thanks for what? We can't help you if you don't supply the full
> traceback, plus what version of Python you are running, on what
> platform [yeah, Windows, but which?]
> 

Plus a copy/paste of the code that you were running, of course.




More information about the Python-list mailing list