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

Discussion in 'Python' started by Matt McCredie, Aug 10, 2007.

  1. > 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
     
    Matt McCredie, Aug 10, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dont bother
    Replies:
    3
    Views:
    4,330
    scriber
    Mar 31, 2009
  2. adrian
    Replies:
    4
    Views:
    754
    John J. Lee
    Apr 1, 2005
  3. Replies:
    0
    Views:
    513
  4. Replies:
    0
    Views:
    466
  5. Matt McCredie
    Replies:
    0
    Views:
    364
    Matt McCredie
    Aug 14, 2007
Loading...

Share This Page