Using Windows, Eclipse, Python - gtk not importing



Title: Using Windows, Eclipse, Python - gtk not importing

I am trying to run a Python program in Eclipse that contains "import gtk", and it is not finding gtk (however, it is finding pygtk).  I added the location of the bin file of  gtk+-bundle-2.24.10-20120208_win32 to the PATH and also did the following successfully: 

Run:
    pkg-config --cflags gtk+-2.0
and verify that it prints out something reasonable.
Run:
    gtk-demo
and verify that it works.

And other Python programs work.

So, maybe I need to do something to get Eclipse or Python to find gtk?

Thanks,

Mark



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]