"ImportError: No module named gobject", Exaile fails to run. Python problem.
Decided to install Exaile today. After installing all the dependencies without much problem I Installed the player itself and tried to run it.
Following some other thread I also checked if I had pygobject.py in my system which I didn't. Since pygobject itself installs fine, I don't know what to think of this.
So I think sometimes the problem has to do with PYTHONPATH in case you already have those bindings installed.
For example if I 'export PYTHONPATH=""' then I can't even 'import pygtk'. If I 'export PYTHONPATH="/usr/local/lib/python2.5/site-packages/"' I can 'import pygtk' but can't 'import gtk' or 'import gobject'.
And finally, what did it for me was 'export PYTHONPATH="/usr/local/lib/python2.5/site-packages/:/usr/local/lib/python
2.5/site-packages/gtk-2.0/"'. After that I could import everything and didn't even need to pay custom taxes.
You can put this export command on your .bash_login. That's what I did.
Maybe it will work for somebody out there.
|All times are GMT -5. The time now is 05:53 PM.|