Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Problems with glade use in Eclipse - Python Development(Glade with Python in Eclipse)
Problems with glade use in Eclipse - Python Development [message #987146] Fri, 23 November 2012 19:29
Charles Cole is currently offline Charles ColeFriend
Messages: 1
Registered: November 2012
Junior Member
I am new to Eclipse and am using it for Python and GUI development with Glade3.
I can run the tests if i double click the python script and it reads the glade code just fine and works. However, in Eclipse (my installation below) it does not work.
The code:
import sys
import pygtk

import gtk
print('GTK not available')
It exits here because it can not import
The message prints : GTK not available
However: If I run the same code in my python cmd prompt everything works.
Additionally if I simply double click my python script the code runs just fine.
Thanks Charlie
P.S. The code is a simple tutorial code
Eclipse Installation Details
4.2.1.v20120814-12... org.eclipse.rcp_root
Eclipse IDE for Java EE Developers epp.package.jee
Experimental Eclipse SDK Samples 3.3.0 org.eclipse.sdk.samples
Pkg-config support org.eclipse.cdt.managedbuilder.pkgconfi... Petri Tuononen
PyDev for Eclipse Aptana
Pydev Mylyn Integration 0.4.0 org.python.pydev.mylyn.feature.feature.g... Fabio Zadrozny
Previous Topic:tool bar ions
Next Topic:How to open eclipse project on a different computer
Goto Forum:

Current Time: Sat Apr 17 09:32:58 GMT 2021

Powered by FUDForum. Page generated in 0.03428 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top