"ImportError: No module named gobject"

L

Luther

I recently had to install 2.7.1 from source, and since then, I have
been unable to run exaile, which comes with Trisquel 4.0. Here is the
error message:

Traceback (most recent call last):
File "/usr/lib/exaile/exaile.py", line 52, in <module>
main()
File "/usr/lib/exaile/exaile.py", line 49, in main
exaile = main.Exaile()
File "/usr/lib/exaile/xl/main.py", line 74, in __init__
self.mainloop_init()
File "/usr/lib/exaile/xl/main.py", line 439, in mainloop_init
import gobject
ImportError: No module named gobject

Is there some special way to compile Python? Do I have to install
another Debian package?
 
L

Luther

I've tried installing pygtk, pygobject, and gobject-introspection from
source, but none of them will compile, and nothing I install through
synaptic has any effect.

I've tried too many things to post all the details here, but I'll post
any details on request.
 
J

J. Gerlach

Am 21.02.2011 16:04, schrieb Luther:
I've tried installing pygtk, pygobject, and gobject-introspection from
source, but none of them will compile, and nothing I install through
synaptic has any effect.

I've tried too many things to post all the details here, but I'll post
any details on request.
Google says the package is called 'python-gobject' (Not that surprising
in itself, the name of most debian packages that are related to python
or that are written in python start with 'python-'.
 
B

Benjamin Kaplan

Am 21.02.2011 16:04, schrieb Luther:
 Google says the package is called 'python-gobject' (Not that surprising
in itself, the name of most debian packages that are related to python
or that are written in python start with 'python-'.
--

The package manager only installs packages for the version(s) of
Python installed through the package manager (which in the case of
Debian is probably 2.4 or 2.5). If you've compiled a new version of
Python from source, you have to install all the packages yourself as
well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top