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

R

rkmr.em

Hi
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top