[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Python problems with a lot of applications.



*
*Hi, with those commands i get:*



nn@Koad:~$ 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']
>>>

nn@Koad:~$ ls -l /usr/share/python-support/python-gobject/pygtk.py
-rw-r--r-- 1 root root 2946 2008-05-16 13:29 /usr/share/python-support/python-gobject/pygtk.py
nn@Koad:~$

*

*nn@Koad:~$ ls /var/lib/python-support
python2.4  python2.5
nn@Koad:~$ *


*nn@Koad:~$ find /var/lib/python-support -name pygtk.pyc
/var/lib/python-support/python2.5/pygtk.pyc
/var/lib/python-support/python2.4/pygtk.pyc
nn@Koad:~$  *

thanks

Daniel Burrows wrote:
On Thu, May 22, 2008 at 03:46:29PM +0100, Dark Nebula <x03@shango.hopto.org> was heard to say:
I have a lot of "applications" broken, and seems the problem is all the same, i suppose.
for example when i try launch the applet "gmail-notify" i get:

*nn@Koad:~$ gmail-notify
Traceback (most recent call last):
 File "./notifier.py", line 4, in <module>
   import pygtk
ImportError: No module named pygtk
nn@Koad:~$
[sbip]
ii python-gobject 2.14.1-6 Python bindings for the GObject library ii python-gobject-dev 2.14.1-6 Development headers for the GObject Python b
[snip]

  Does the file

    /usr/share/python-support/python-gobject/pygtk.py

  exist on your system?

  What do these commands output?

    ls /var/lib/python-support
    find /var/lib/python-support name pygtk.pyc

  Daniel




Reply to: