【发布时间】:2020-10-03 04:36:56
【问题描述】:
我在尝试将我的项目推送到 GitHub 以连接 Heroku 时收到此消息
-----> 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
我已经将Requirements.txt 和Procfile 放在了根目录中。我的Requirements.txt 看起来像这样:
json5==0.8.5
jsonschema==2.6.0
regex==2018.2.21
requests==2.23.0
schedule==0.6.0
spotipy==2.12.0
tweepy==3.8.0
而我的Procfile 看起来像这样:
worker: python app.py
我的 GitHub 仓库是:https://github.com/dahliahadfury/Spotify-recommendation
【问题讨论】:
标签: python github heroku buildpack