By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,941 Members | 1,753 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,941 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.