472,127 Members | 1,620 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

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 1722

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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.