Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am writing an app which has a button that, when clicked, should launch a Gwibber entry widget. This used to work, as suggested on the tutorial:

from gi.repository import GwibberGtk
entry = GwibberGtk.Entry()

But now it doesn't anymore on my computer. I encountered the error ImportError: cannot import name GwibberGtk. So, as suggested here, I installed gir1.2-gwibber-0.2 and I changed the first line of my code into

from gi.repository import Gwibber

But the problem is that this "Gwibber" object has no "Entry" method. What should I use to create an entry widget as before ? Will the method you advice me be compatible on computers on which my app will be distributed ?

share|improve this question
up vote 2 down vote accepted

GwibberGtk is correct, you need gir1.2-gwibber-gtk-0.2

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.