0

I'm trying to import gnomekeyring in ipython, but it's giving me the following error:

<ipython-input-3-8e3631b2d189> in <module>()
----> 1 import gnomekeyring as gk

ImportError: could not import gobject (could not find _PyGObject_API object)

The import works fine when I'm in the standard python console. All the functions work as expected. How would I debug this problem?

user128063
  • 203
  • 1
  • 6
  • It sounds like ipython and your standard Python interpreter might be using different versions of Python. What are the versions that you see when you start these interpreters? – elethan Sep 05 '16 at 19:03
  • When invoking python, it shows python version 2.7.10 and ipython 2.3.0. When invoking python, it shows python 2.7.10. – user128063 Sep 06 '16 at 00:38

0 Answers0