AttributeError: 'module' object has no attribute 'HTTPSHandler'

rkmr.em at gmail.com rkmr.em at gmail.com
Fri Aug 10 18:49:59 EDT 2007


On 8/10/07, Matt McCredie <mccredie at gmail.com> wrote:
> > I built and installed python 2.5 from source and when I do this:
> > opener = urllib2.build_opener(SmartRedirectHandler(),
> > DefaultErrorHandler(), urllib2.HTTPSHandler())
> > I get this error.
> > AttributeError: 'module' object has no attribute 'HTTPSHandler'

> You need `_ssl.pyd' for HTTPSHandler to work. I guess, try to figure
> out why that wasn't built, then build it. I suppose I _might_ be able
> to give a little more help, but you haven't mentioned what platform
> you are using. Even then, I'm not an expert on building Python.

I am using Fedora Core 4 linux.  Where should I look for _ssl.pyd ? I
am trying to build and use Python-2.5.1



More information about the Python-list mailing list