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

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

  1. Guest

    On 8/10/07, Matt McCredie <> wrote:
    > > 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'


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


    I am using Fedora Core 4 linux. Where should I look for _ssl.pyd ? I
    am trying to build and use Python-2.5.1
     
    , 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,207
    scriber
    Mar 31, 2009
  2. adrian
    Replies:
    4
    Views:
    728
    John J. Lee
    Apr 1, 2005
  3. Replies:
    0
    Views:
    506
  4. Matt McCredie
    Replies:
    0
    Views:
    356
    Matt McCredie
    Aug 10, 2007
  5. Matt McCredie
    Replies:
    0
    Views:
    358
    Matt McCredie
    Aug 14, 2007
Loading...

Share This Page