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. Advertisements

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:
    5,413
    scriber
    Mar 31, 2009
  2. adrian
    Replies:
    4
    Views:
    1,013
    John J. Lee
    Apr 1, 2005
  3. rsd
    Replies:
    2
    Views:
    700
  4. kepioo
    Replies:
    0
    Views:
    622
    kepioo
    Sep 19, 2006
  5. Replies:
    0
    Views:
    614
  6. Matt McCredie
    Replies:
    0
    Views:
    459
    Matt McCredie
    Aug 14, 2007
  7. black_13
    Replies:
    4
    Views:
    688
    black_13
    Feb 12, 2008
  8. Nikhil
    Replies:
    4
    Views:
    1,391
    Nikhil
    May 20, 2008
Loading...