Hi Dark, On Thu, May 22, 2008 at 04:48:32PM +0100, Dark Nebula wrote: > > [EMAIL PROTECTED]:~$ python > Python 2.5.2 (r252:60911, Apr 5 2008, 16:44:07) > [GCC 4.2.3 (Debian 4.2.3-3)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import sys > >>> print sys.path > ['', '/usr/local/lib/python25.zip', '/usr/local/lib/python2.5', > '/usr/local/lib/python2.5/plat-linux2', > '/usr/local/lib/python2.5/lib-tk', > '/usr/local/lib/python2.5/lib-dynload', > '/usr/local/lib/python2.5/site-packages'] > >>> That's strange - on my machine, everything is installed in /usr/lib, not in /usr/local/lib. Nevertheless, the path is missing, the modules seem to be installed. If you do in python
import sys sys.path.append("/var/lib/python-support/python2.5/") sys.path.append("/usr/lib/python-support/python2.5/") import pygtk python should import pygtk, and everything should work. To make this setting permanent, add the lines /var/lib/python-support/python2.5 gtk-2.0 /var/lib/python-support/python2.5/gtk-2.0 to the file /usr/local/lib/python2.5/site-packages/python-support.pth (if it does not exist already, create it) This file should be sourced each time python is executed. But: probably, you should reinstall python, because on my machine, python is installed in /usr, and not in /usr/local. Do you have /usr/bin/python2.5? What happens, if you start it, and execute the import sys print sys.path import pygtk then? Axel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]