Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: AttributeError: 'module' object has no attribute 'HTTPSHandler'

Reply
Thread Tools

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

 
 
rkmr.em@gmail.com
Guest
Posts: n/a
 
      08-10-2007
On 8/10/07, Matt McCredie <(E-Mail Removed)> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
class object's attribute is also the instance's attribute? 陈伟 Python 9 08-30-2012 03:20 PM
AttributeError: 'module' object has no attribute 'urlopen' dont bother Python 3 03-31-2009 10:30 PM
ATTRIBUTE ERROR: 'module' object has no attribute 'ssl' johnny Python 5 12-10-2006 01:10 PM
pythoncom - 'module' object has no attribute 'frozen' Paul Python 3 10-18-2003 07:31 AM
sys.argv[0] - 'module' object has no attribute 'argv' =?ISO-8859-1?Q?Thomas_N=FCcker?= Python 0 06-30-2003 02:07 PM



Advertisments