Rawhide: No module named gtk

Jerry James loganjerry at gmail.com
Tue Apr 21 18:10:36 UTC 2009


On Tue, Apr 21, 2009 at 12:06 PM, Adam Williamson <awilliam at redhat.com> wrote:
> Um. Why don't we just go the easy way, and ask him to do:
>
> * run python at a command line
> * run 'import gtk'
>
> and see what happens? That usually gives you an error message that tells
> you pretty much what's going on.
> --
> Adam Williamson
> Fedora QA Community Monkey
> IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
> http://www.happyassassin.net

Not really.  Watch this:

$ python
Python 2.5.2 (r252:60911, Sep 30 2008, 15:42:03)
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import nosuchmodule
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named nosuchmodule

... which is the error he reported in his first message.  We had to
find out why python thought there was no such module (and we succeeded
in doing so).
-- 
Jerry James
http://loganjerry.googlepages.com/




More information about the devel mailing list