954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to set path for gtk if we have multiple versions of python in a system

hi,

I want to run an application that is compiled in python 2.5 in fedora 13
but fedora 13 comes with python 2.6.4 so i manually install python 2.5 to run the application
but it is saying that no module named gtk ..
how to set path for gtk for python 2.5 i have installed in /usr/bin
i want to run the application but its saying the error no module named
gtk
Kindly advice me a solution

kumarantechie
Newbie Poster
8 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

You have to install pygtk, which is the python binding to GTK, for the 2.5 version. If you look in the /usr/lib/ directory for 2.6.4 you should see a directory for pygtk. I would first search the Fedora repositories as it should have both Python2.5 and PyGTK for 2.5.

woooee
Nearly a Posting Maven
2,454 posts since Dec 2006
Reputation Points: 777
Solved Threads: 714
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: