[Bug 15484] pygtk module not found, PYTHONPATH needs fixing

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Thu Sep 15 12:29:10 UTC 2005

Please do not reply to this email.  You can add comments at
Ubuntu | python-gnome2

michael at endbracket.net changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

------- Additional Comments From michael at endbracket.net  2005-09-15 13:29 UTC -------
My python and python2.4 were from jhbuild GNOME in /opt/gnome2.  
>>> import sys
>>> print sys.path
['', '/opt/gnome2/lib/python24.zip', '/opt/gnome2/lib/python2.4',
'/opt/gnome2/lib/python2.4/plat-linux2', '/opt/gnome2/lib/python2.4/lib-tk',
'/opt/gnome2/lib/python2.4/lib-dynload', '/opt/gnome2/lib/python2.4/site-packages']

It's an unfortunate coincidence that the scripts I was trying to run used an
interpreter line
#!/usr/bin/env python

which caused me to get the local versions, since the directories in /opt/*/bin
appear in my PATH before /usr/bin.  I'm used to shell and Perl, where the most
common forms are #!/usr/bin/perl and #!/bin/sh, thus always using the standard
vendor-supplied versions.

Sorry for the hassle.

Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the desktop-bugs mailing list