Bad magic number - yummain.pyc

John Kebbel yellowdog-general@lists.terrasoftsolutions.com
Wed Oct 29 17:47:01 2003


When I tried running YUM with anything, I got this message.Can anyone
suggest a fix for this? I've tried as me, as me with sudo, and as root.
Same error.

[kebbelj@localhost kebbelj]$ yum install libstdc++devel 
Traceback (most recent call last): 
File "/usr/bin/yum", line 22, in ? 
import yummain 
ImportError: Bad magic number in /usr/share/yum/yummain.pyc