Problems with Python, CentOS and Yum
Hi
For a project, I need pygtgmozembed but had no luck so I found that my problem is this:
I found 2 Python installations, one is 2.3 in /usr/lib and the other one is 2.4 in /usr/local/lib
Command python is pointing to 2.4
Now when I install software from source code, it seems like they go to the one that is 2.4 and yum installs on the 2.3 one?!!
For example I installed GTK and "import gtk" only works on 2.3 one.
This makes a lot of confusion, for example, when I try to install gnome-python2-extras, it checks the 2.4-one and decides not to install pygtgmozembed.
If I set $PYTHON to point to the 2.3-one, then gnome-python2-extras complaints that it's too old.
Also, python-updater gives me all sorts of errors...
It's a mess and I can't really find anything online, any help would be much appreciated.
I hope this made sense.
Thanks in advance.
|