Because gexiv2 is not a Python library, it's designed for many languages to use.
Perhaps the Python bindings should be packaged separately with the appropriate dependencies in place, but I'm not sure of that. For example, gexiv2 also ships with Vala bindings, but it doesn't (nor should it) require Vala to be installed. ** Changed in: gexiv2 (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gexiv2 in Ubuntu. https://bugs.launchpad.net/bugs/1234422 Title: Cannot import in python2.7 Status in “gexiv2” package in Ubuntu: Invalid Bug description: I am totally unable to use this library in python 2.7. With the latest ubuntu package i am unable to: >>> from gi.repository import GExiv2 I got a: ImportError: cannot import name GExiv2 # python2.7 Python 2.7.4 (default, Sep 26 2013, 03:20:56) [GCC 4.7.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from gi.repository import GExiv2 Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named gi.repository The import works well with python3. # python3 Python 3.3.1 (default, Sep 25 2013, 19:30:50) [GCC 4.7.3] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from gi.repository import GExiv2 >>> But if i try to locate: $ locate GExiv2.py /usr/lib/python2.7/dist-packages/gi/overrides/GExiv2.py /usr/lib/python3/dist-packages/gi/overrides/GExiv2.py # dpkg -l| grep exiv ii gir1.2-gexiv2-0.4 0.6.1-0ubuntu1 i386 GObject introspection data for the gexiv2 library ii libexiv2-12 0.23-1 i386 EXIF/IPTC metadata manipulation library ii libgexiv2-2 0.6.1-0ubuntu1 i386 GObject-based wrapper around the Exiv2 library To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gexiv2/+bug/1234422/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp