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

Matt McCredie mccredie at gmail.com
Fri Aug 10 16:52:32 EDT 2007


> 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'
>
> What should I do?


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.

Matt



More information about the Python-list mailing list