469,641 Members | 1,171 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,641 developers. It's quick & easy.

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

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
Aug 10 '07 #1
0 1565

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Erlend Fuglum | last post: by
2 posts views Thread by Thomas Guettler | last post: by
3 posts views Thread by Juha S. | last post: by
4 posts views Thread by Nikhil | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.