Python 3.7.0 Heroku buildpack issue

我是研究僧i 提交于 2021-01-28 19:51:59

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!