简体   繁体   中英

heroku deployment problems app not compitable

I am uploading my project to heroku but it says

-----> 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

but I have requirements.txt. Any help?

Your requirements.txt file needs to be at the root of your GIT repository.

If you don't wish to do so, you can use the monorepo unofficial buildpack which will let you configure a config var with the name of the subfolder you with to deploy.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM