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

Fredrik Lundh fredrik at pythonware.com
Sun Dec 10 02:20:29 EST 2006


johnny wrote:

> I am getting the following errors:
> 
>   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'

looks like you're using a Python distribution that doesn't support SSL. 
  ActivePython, perhaps?

</F>




More information about the Python-list mailing list