Push rejected, failed to detect set buildpack heroku/python


#1

Going by the original book to Deploy on Heroku. Followed instructions step by step. When I try to push the code to Heroku I keep hitting this issue:

Push rejected, failed to detect set buildpack heroku/python
remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure

I have my requirements.txt and Procfile set up and in the main folder.

Any suggestions?


#2

What branch are you in? If you’re indeed in your master branch, can you paste me the contents of your git config file? The config file should be in a hidden .git folder in your project root, let me know if you can’t figure out how to open it.


#3

[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote “heroku”]
url = https://git.heroku.com/infinite-journey-5463.git
fetch = +refs/heads/:refs/remotes/heroku/


#4

I found the issue- never added to git, was just committing? Time to do some more reading…

Thanks Lime!


#5

Ah, was git status working?


#6

Yes, I think? Everything came up, but it didn’t look right compared to online examples. So I went back to your git tips to possibly find out why. I need a better understanding of Git going forward. The documentation isn’t easy to read…