问题
I've read some people with the same issue, but nothing suggested has worked. I'm trying to deploy a silly project to Heroku but nothing is working.
Below this lines you can see the message:
Writing objects: 100% (100/100), 55.42 MiB | 625.00 KiB/s, done. Total 100 (delta 19), reused 4 (delta 0) remote: Compressing source files... done. remote: Building source:
Counting objects: 100, done. Delta compression using up to 4 threads. Compressing objects: 100% (94/94), done. Writing objects: 100% (100/100), 55.42 MiB | 625.00 KiB/s, done. Total 100 (delta 19), reused 4 (delta 0) remote: Compressing source files... done.
App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz ! Push failed
This is my github repository, just in case someone wants to see the code: Pets vs Dogs
回答1:
UPDATE: the problem was the structure itself. I had to place the requirements.txt and Procfile at the root directory.
来源:https://stackoverflow.com/questions/62962527/python-3-7-0-heroku-buildpack-issue