Install pyheif
masterInstallation methods vary by operating system. Note that Windows is not supported.
Linux (Simple Installation)
Installs a manylinux2014 wheel. This method does not work with Alpine Linux.
MacOS (From Source)
Requires libffi and libheif installed via Homebrew.
Linux (From Source)
Requires system dependencies for libffi, libheif, and libde265 via your package manager before installing from the git repository.
# Linux Simple
pip install --upgrade pip
pip install pyheif
# MacOS
brew install libffi libheif
pip install git+https://github.com/carsales/pyheif.git
# Linux Source
apt install libffi libheif-dev libde265-dev
# OR
yum install libffi libheif-devel libde265-devel
pip install git+https://github.com/carsales/pyheif.git