I am deploying a Flask app of Heroku that uses librosa, but when I run the app, I get an H10 error. I went back into the logs and got this error, which is likely the cause of the H10 error:
2021-07-17T13:06:17.447032+00:00 app[web.1]: OSError: sndfile library not found
requirements.txt:
git+https://github.com/CPJKU/madmom.git
ffmpeg==1.4
Flask==1.1.2
Jinja2==2.11.3
librosa==0.8.0
numpy==1.17.5
youtube-dl==2021.4.17
gunicorn==20.1.0
I've tried to install libsndfile1
, tried to install librosa with conda, and tried to install librosa with homebrew (I am on MacOS) but none of those methods have worked.