[oe-issues] [Bug 2905] New: python-pygtk does not provide working "import gtk"

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Sat Sep 1 02:30:45 CEST 2007


http://bugs.openembedded.org/show_bug.cgi?id=2905

           Summary: python-pygtk does not provide working "import gtk"
           Product: Openembedded
           Version: Angstrom
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: kristian at mput.de


python-pygtk depends on python-pygobject. It's in the DEPENDS but the
pkg-config is only included in the -dev package.

At least the .pth file is also missing. It's provided by python-pygobject 
with the other pygtk.* files but not with any python-pygtk package.


root at fic-gta01:/media/card$ python
Python 2.5.1 (r251:54863, Aug 24 2007, 16:00:14)
[GCC 4.1.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named gtk
>>> import sys
>>> sys.path
['', '/usr/lib/python25.zip', '/usr/lib/python2.5',
'/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk',
'/usr/lib/python2.5/lib-dynload', '/usr/lib/python2.5/site-packages']
>>> sys.path.append('/usr/lib/python2.5/site-packages/gtk-2.0')
>>> import gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 26, in
<module>
    from _gtk import *
ImportError: could not import gobject
>


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Openembedded-issues mailing list