PDA

View Full Version : Python problems



marcos
4th August 2005, 09:27 PM
To make it short, I screwed up everything when I had installed some files required by iPodder. Those files were meant to be installed in a Mandrake system, but I installed them because couldn't find their Fedora version.

Now, yum and many other system configuration applications don't work anymore.

Any clue? I'm using FC4.

Thanks, Marcos



Some examples of error message I get:

When using yum

[root@localhost marcos]# yum
The yum libraries do not seem to be availableon your system for this version of python 2.4 (#2, Feb 12 2005, 00:29:46)
[GCC 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)]
Please make sure the package you used to installyum was built for your install of python.


When using system-config-keyboard

Traceback (most recent call last):
File "/usr/share/system-config-keyboard/system-config-keyboard.py", line 29, in ?
from rhpl.translate import _, N_
File "/usr/lib/python2.4/site-packages/rhpl/translate.py", line 21, in ?
import iconv
ImportError: /usr/lib/python2.4/site-packages/rhpl/iconv.so: undefined symbol: PyUnicodeUCS4_AsUTF8String



When using system-config-network

[root@localhost marcos]# system-config-network
Traceback (most recent call last):
File "/usr/sbin/system-config-network-gui", line 41, in ?
from rhpl.translate import _, N_, textdomain_codeset
File "/usr/lib/python2.4/site-packages/rhpl/translate.py", line 21, in ?
import iconv
ImportError: /usr/lib/python2.4/site-packages/rhpl/iconv.so: undefined symbol: PyUnicodeUCS4_AsUTF8String

jadacyrus
16th September 2005, 03:52 AM
I'm having the same problem. I messed up some python libs now nothing freakin works. How can I restore the libraries back to normal?