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

John Machin sjmachin at lexicon.net
Sat Dec 9 23:59:43 EST 2006


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?]

By the way, how did you manage to get Python installed in a path like
"H:\xampp\xampp\xampp" ?

Cheers,
John




More information about the Python-list mailing list