0๐
โ
I met the same problem as you when git push heroku master
my flask project. Iโm not sure which package leads to this problem, but it is definitely due to one of over 100 packages.
Because I deployed successfully when I used the original requirements.txt
. But heroku declined push several times after I ran pip freeze > requirements.txt
, which added over 100 packages that installed automatically by anaconda. I removed some packages that cannot be found by heroku, and finally, it showed the same error as you met. Then I reset requirements.txt
to the original version and it worked!
My suggestion is that only adding the packages that you need and you are familiar with. Hope this can help you!
๐คAlbus
Source:stackexchange.com