ImportError: No module named glib

mblume mblume at socha.net
Fri Mar 5 05:54:49 EST 2010


Am Fri, 05 Mar 2010 10:30:49 +0200 schrieb Michael Joachimiak:

> I am too new to python.
> If anybody has an idea what to do please help. when I use
> 
> import glib
> 
> in my code I get this:
> 
>>>> import glib
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named glib
> 

Shot in the dark: maybe "import pyglib"?
Hint: you can look around in /usr/lib/python to see what files can be imported.

HTH
Martin



More information about the Python-list mailing list