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

johnny rampeters at gmail.com
Sun Dec 10 08:10:15 EST 2006


I fixed it. I went to python site and downloaded the python 2.4 msi and
extracted _ssl.lib and _ssl.pyd using winRar and put them into
python/DLLs folder

johnny wrote:
> I am using ActiveState python.
>
> ActivePython 2.4.3 Build 12 (ActiveState Software Inc.) based on
> Python 2.4.3 (#69, Apr 11 2006, 15:32:42) [MSC v.1310 32 bit (Intel)]
> on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>>
>
>
>
> Fredrik Lundh wrote:
> > 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