Installation Of Py3exiv2 On Macos Big Sur Fails | Error: No .egg-info Directory Found In
I'm trying to install py3exiv2 on macOS Big Sur with pip install py3exiv2 and pip3 install py3exiv2 both of which yield ERROR: No .egg-info directory found in/private/var/folders
Solution 1:
I found a similar issue listed by Robert here for macOS Catalina,
Installing dependencies using
brew install boost-python3 gexiv2 pygobject3
Then downloading the py3exiv2 package and installing using
pip install py3exiv2-{version_number}.tar.gz
Works like a Charm on macOS Big Sur too!
Solution 2:
The answer which was marked correct no longer worked for me in MacOS catalina. pip3 is not looking for the headers files in correct places. Check my answer here: https://answers.launchpad.net/py3exiv2/+question/700064
This is what fixed it for me:
To get around this problem do the following:
brew install boost-python3 gexiv2 pygobject3
After installing the dependencies, you'll face more errors. To get around those, set the corrext include and linker path and then install the module using pip.
export CPLUS_INCLUDE_PATH=/usr/local/Cellar/exiv2/0.27.5_1/include/:/usr/local/opt/libssh/include/:/usr/local/Cellar/boost/1.76.0/include/
export LDFLAGS="-L/usr/local/Cellar/boost-python3/1.76.0/lib -L/usr/local/Cellar/exiv2/0.27.5_1/lib"
pip install py3exiv2
or if you are using pipenv
CPLUS_INCLUDE_PATH=/usr/local/Cellar/exiv2/0.27.5_1/include/:/usr/local/opt/libssh/include/:/usr/local/Cellar/boost/1.76.0/include/ LDFLAGS="-L/usr/local/Cellar/boost-python3/1.76.0/lib -L/usr/local/Cellar/exiv2/0.27.5_1/lib" pipenv install
Post a Comment for "Installation Of Py3exiv2 On Macos Big Sur Fails | Error: No .egg-info Directory Found In"