Installing py3exiv2 on macOS Catalina

I’ve been working on a Python project involving accessing image metadata and needed to install py3exiv2 on my MacBook Pro. The usual Conda install py3exiv2 or pip install py3exiv2 commands were either not finding the package, or giving me the error No .egg-info directory found. Frustrated, I tried installing the package manually, and it worked. Here’s how I did it. This tutorial assumes you’ve Homebrew installed.

  1. Download the py3exiv2 package from here
  2. Run brew install boost-python3 gexiv2 pygobject3
  3. Run pip install py3exiv2-{version_number}.tar.gz

It’s as simple as that. The dependencies installed via Homebrew are essential, so don’t overlook them.

Leave a Reply