How to use soundfile on heroku

后端 未结 2 649
野趣味
野趣味 2020-12-21 10:53

I have a python flask app I\'m running on Heroku which uses the soundfile library. After adding soundfile to requirements.txt Heroku gave me this e

2条回答
  •  情歌与酒
    2020-12-21 11:32

    Create an 'Aptfile' and add the following lines:

    libasound2-dev python-dev python-numpy python-setuptools libsndfile-dev

    This worked for me.

提交回复
热议问题