pythonmacosvirtualenvpyexiv2

How to install python library Pyexiv2 and Gexiv2 on osx 10.6.8?


Does anyone knows how to install the python library pyexiv2 and/or Gexiv2 on Mac OSX, ideally on version 10.6.8 and in a virtualenv?


Solution

  • It's pretty simple with Homebrew package manager:

    brew install exiv2 pyexiv2
    

    If you're using Macports, it also has exiv2 formulas:

    http://www.macports.org/ports.php?by=name&substr=exiv

    --Edit--

    A side note: I got segfault at "import pyexiv2". It turned out I have system Python 2.7.2 and homebrew Python 2.73 intalled at the same time. The problem disappeared after I uninstalled the brewed Python. Related info can be found here:

    https://answers.launchpad.net/pyexiv2/+question/212471