[Yum] yum AttributeError: 'module' object has no attribute 'HTTPSHandler'

Madan Thapa madan.feedback at gmail.com
Tue Jan 13 09:12:45 UTC 2009


The error seems coming from here, maybe someone can advise.

root at cpanel [/usr/lib/python2.4/site-packages/yum]# cd
root at cpanel [/usr/lib/python2.4/site-packages/yum]# python
Python 2.4.3 (#1, May 24 2008, 13:47:28)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import yum
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 42, in ?
    import config
  File "/usr/lib/python2.4/site-packages/yum/config.py", line 27, in ?
    from parser import ConfigPreProcessor
  File "/usr/lib/python2.4/site-packages/yum/parser.py", line 3, in ?
    import urlgrabber
  File "/usr/lib/python2.4/site-packages/urlgrabber/__init__.py", line 53,
in ?
    from grabber import urlgrab, urlopen, urlread
  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 406,
in ?
    import keepalive
  File "/usr/lib/python2.4/site-packages/urlgrabber/keepalive.py", line 339,
in ?
    class HTTPSHandler(KeepAliveHandler, urllib2.HTTPSHandler):
AttributeError: 'module' object has no attribute 'HTTPSHandler'
root at cpanel [/usr/lib/python2.4/site-packages/yum]#

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum/attachments/20090113/b0c92522/attachment.htm 

More information about the Yum mailing list