LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   python update - Unable to load GTK2 Python bindings: No module named gtk (https://www.linuxquestions.org/questions/linux-software-2/python-update-unable-to-load-gtk2-python-bindings-no-module-named-gtk-672920/)

itpedersen 09-28-2008 12:34 PM

python update - Unable to load GTK2 Python bindings: No module named gtk
 
I have updated my python with 2.5.2... but when I try afterwards to start for instance cedega i get this error:

Code:

F1 2008-09-28 18:40:37,580 CRITICAL Unable to load GTK2 Python bindings: No module named gtk
before i installed python 2.5.2 cedega worked just fine.

how can i fix this issue?

Ubuntu 8.04
P4 1,8GHZ - 512MB Ram
GF4

SkyEye 10-01-2008 01:39 AM

Did you upgraded your Python installation from the packages from you official repository (Eg: using software Updates only without adding external repos). If you did it manually then you might have to update other components which may or may not work well.

If you used official updates make sure that you have the latest version of "python-gtk2" installed.

However using Synaptic package manager (for your ease) you can install and keep both python2.4 and python2.5 installations on Ubuntu.

itpedersen 10-03-2008 03:44 AM

Solved - fixed
 
After trying alot, I found that I had an old python in my:

/usr/local/bin

so I ran a:
sudo rm python*

an sudennly i could run cedega and python and playonlinux... :-)
thanks for help!


All times are GMT -5. The time now is 08:31 AM.