Page 1 of 1
ImportError: No module named 'gobject'
Posted: Fri Mar 18, 2016 5:20 pm
by AndressaSiq
Hi,
I'm new in Python and I saw this Error:
ImportError: No module named 'gobject'.
I don't know what I need to do for my script work. I need help.
Re: ImportError: No module named 'gobject'
Posted: Fri Mar 18, 2016 7:20 pm
by Douglas6
Where did you find the code you are trying to run? There may be instructions for installing prerequisites. If you are new to Python, using gobject may be a little advanced for you.
Re: ImportError: No module named 'gobject'
Posted: Sun Mar 20, 2016 2:30 pm
by AndressaSiq
Hi Douglas,
I found the code in this page...
https://github.com/dixel/wifi-linux
And I didn't find any instructions for installing....
Re: ImportError: No module named 'gobject'
Posted: Sun Mar 20, 2016 3:32 pm
by Douglas6
You're right. Gobject (and dbus and glib) are installed in Raspbian by default, but only for Python 2. You'll probably find other issues, so make sure you are running that code with Python 2.
Re: ImportError: No module named 'gobject'
Posted: Sun Mar 20, 2016 3:36 pm
by AndressaSiq
I will try this!!! Thanks a lot Douglas!!!!

Re: ImportError: No module named 'gobject'
Posted: Mon Mar 21, 2016 12:00 pm
by AndressaSiq
Hi Douglas,
This code worked in Python2. I only need to install gnuplot-py before.
Thanks a lot your help!