Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 111289

Summary: ImportError: No module named pygtk
Product: Gentoo Linux Reporter: Andreas Wuest <KickMeToAndy>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal CC: I-SAngeli
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Wuest 2005-11-02 12:48:27 UTC
Hi,

when i try to open the console or pdb browser under Xtns -> Python-Fu i get the
following error on the console :

Traceback (most recent call last):
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 589, in _run
    res = _interact(func_name, start_params)
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 261, in _interact
    return run_script([])
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 257, in run_script
    return apply(function, params)
  File "/usr/lib/gimp/2.0/plug-ins/gimpcons.py", line 23, in
plug_in_python_fu_console
    import pygtk
ImportError: No module named pygtk

However pygtk is installed : 
dev-python/pygtk Version 2.6.1
Gimp version is : 
media-gfx/gimp Verison 2.2.8-r1

if you need more information, tell me.

regards,
Andy






Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2005-11-03 05:02:00 UTC
looks like something is amiss with your python modules.

Did you recently upgrade to 2.4?

This has nothing to do with the gimp.

For example, if you type "python" in the console, and then type "import pygtk"
you will most likely get the ImportError again.

First, try running python-updater.
Comment 2 Andreas Wuest 2005-11-03 10:35:25 UTC
Hi,  
thanks a lot. running python-updater solved my problem. 
thanks. i guess you can close the bug now :) 
 
thanks again, 
Andy 
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-11-03 20:18:23 UTC
Closing per previous comment.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-12-19 10:25:09 UTC
*** Bug 116059 has been marked as a duplicate of this bug. ***