简体   繁体   中英

How to specify a wheel in Heroku for Flask app?

I need pyaudio for the speech recognition library and I am using python 3.7.9 , I used the PyAudio-0.2.11-cp37-cp37m-win_amd64 wheel. I can install pyaudio locally using pip and the wheel and it worked fine. How do I do this in a requirements.txt for a Heroku Flask web app?

I can connect my Heroku flask app with GitHub and add the wheel in the same repo as my code. Then I can just paste the path in requirments.txt.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM