Hi,

I installed PYGTK and everything that I thought was a dependency.

When I try to import gtk from python, I get this:

$ python
Python 2.5.1 (r251:54863, May 18 2007, 16:56:43)
[GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File 
"/usr/src/ports/python/pygtk/python-gtk2-2.10.4-2/inst/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py",
line 48, in <module>
ImportError: No such file or directory
>>>

Now I am not sure why it is looking for things in that directory, it
doesn't exist. PyGTK appears installed correctly in the right place in
/usr/lib/python2.5/site-packages/gtk-2.0, and this directory is in
sys.path.

I am a bit confused, please help.

Ali

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to