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

Discussion in 'Python' started by rkmr.em, Aug 10, 2007.

  1. rkmr.em

    rkmr.em Guest

    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?
    rkmr.em, Aug 10, 2007
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.