首页 > 解决方案 > python/django 无法部署到heroku

问题描述

当我尝试在 heroku 上部署我的项目时出现此错误

我已经为他遵循了 proshop 教程,它运行良好,没有任何问题,但我在下面收到此错误


-----> Using buildpack: heroku/python

-----> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz

       More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure

 !     Push failed

我已经尝试了一些提到的东西,比如 heroku buildpacks:set heroku/python 并在我的项目中有 requirments.txt 和 procfile

标签: pythondjangoheroku

解决方案


推荐阅读