Re: [pygtk] Importing Error

2010-04-05 Thread Manjot Pahwa
The Gtk version is 2.16.6 and PyGtk version I use is 2.0
Regards,
Manjot Pahwa

On Sat, Apr 3, 2010 at 8:52 PM, Marco Antonio Islas Cruz 
mar...@islascruz.org wrote:

 Can you tell us you Gtk version and your PyGTK version?

 On Sat, 2010-04-03 at 17:45 +0530, Manjot Pahwa wrote:
  Hello,
 
 
  When I try to import gtk in PythonWin, I get the following error
  message:
 
 
  C:\Python26\lib\site-packages\gtk-2.0\gtk\__init__.py:40:
  RuntimeWarning: tp_compare didn't return -1 or -2 for exception
from gtk import _gtk
  ImportError: could not import gio
  ImportError: could not import gio
 
 
  No problems with importing pygtk. Can anyone suggest solutions?
 
 
  Regards,
  Manjot Pahwa
  Research Engineer
  Software for Education, Entertainment and Training Activities (SEETA)
 
  ___
  pygtk mailing list   pygtk@daa.com.au
  http://www.daa.com.au/mailman/listinfo/pygtk
  Read the PyGTK FAQ: http://faq.pygtk.org/

 --
 --Linux... Because I'm Free--
 Marco Antonio Islas Cruz
 Markuz
 Linux User #280229
 mar...@islascruz.org
 mar...@unixmexico.org
 mar...@linuxpozarica.com
 marco.is...@gmail.com
 islac...@yahoo.com
 http://www.islascruz.org
 http://.christine-project.org
 http://www.linuxpozarica.com




-- 
Manjot Pahwa
Research Engineer
Software for Education, Entertainment and Training Activities (SEETA)
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] Importing Error

2010-04-03 Thread Manjot Pahwa
Hello,

When I try to import gtk in PythonWin, I get the following error message:

C:\Python26\lib\site-packages\gtk-2.0\gtk\__init__.py:40: RuntimeWarning:
tp_compare didn't return -1 or -2 for exception
  from gtk import _gtk
ImportError: could not import gio
ImportError: could not import gio

No problems with importing pygtk. Can anyone suggest solutions?

Regards,
Manjot Pahwa
Research Engineer
Software for Education, Entertainment and Training Activities (SEETA)
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] Gtk and pygtk modules not present

2010-01-24 Thread Manjot Pahwa
I am a new learner of Python and PyGTK.

The following message is displayed when I try to import the pygtk and gtk
modules:

Python 2.3 (#46, Jul 29 2003, 18:54:32) [MSC v.1200 32 bit (Intel)] on win32
Type copyright, credits or license() for more information.

**
**
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface.  This connection is not visible on any external
interface and no data is sent to or received from the Internet.


IDLE 1.0
 import pygtk

Traceback (most recent call last):
  File pyshell#0, line 1, in -toplevel-
import pygtk
ImportError: No module named pygtk
 import gtk

Traceback (most recent call last):
  File pyshell#1, line 1, in -toplevel-
import gtk
ImportError: No module named gtk


I am using this in Windows Vista.
Please help.

Thanking you,
Regards,
Manjot Pahwa
Consultant, Technology and Education
Software for Education, Entertainment and Training Activities (SEETA)
Undergraduate
Netaji Subhas Institute of Technology
Division of Computer Sciences
+919953310807
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] See output

2010-01-24 Thread Manjot Pahwa
I am new to Python and Linux. Can you tell me how to view my output (I am
creating programs via PyGTK) in Ubuntu 9.04 via Terminal?
And how to view it from the command line in Windows?

Regards,
Manjot Pahwa
Consultant, Technology and Education
Software for Education, Entertainment and Training Activities (SEETA)
Undergraduate
Netaji Subhas Institute of Technology
Division of Computer Sciences
+919953310807
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/