I think i found a solution here:
These are the steps to do:
git clone https://github.com/shazamio/shazamio-core.git
cd shazamio-core
git switch --detach 1.0.7 (OR git switch --detach 1.0.7)
python -m pip install .
pip install shazamio
Then the installation was possible on Mac