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.
- Download the py3exiv2 package from here
- Run
brew install boost-python3 gexiv2 pygobject3
- 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.
Thanks worked!
thank youuuuuuuu this saved me a lot of frustration!