(pdjangoenv) C:UsersbhvbhDesktoppractice djangodental_john>git push heroku master
Enumerating objects: 208, done.
Counting objects: 100% (208/208), done.
Delta compression using up to 4 threads
Compressing objects: 100% (201/201), done.
Writing objects: 100% (208/208), 2.88 MiB | 47.00 KiB/s, done.
Total 208 (delta 26), reused 0 (delta 0), pack-reused 0
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> App not compatible with buildpack: https://buildpack-
registry.s3.amazonaws.com/buildpacks/heroku/python.tgz
remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to dentist-yash.
remote:
To https://git.heroku.com/dentist-yash.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/dentist-yash.git'
我正试图在heroku中部署我的应用程序,但由于"应用程序与buildpack不兼容"错误而失败。我已经在我的项目中添加了requirement.txt和procfile,但它失败了。
确保所有人都已合并并在git中处理主分支。还要确保git-reo在项目根文件夹中初始化,例如,它可能是dental_john与牙医yash。
检查这个其他位置的数字错误,你正在得到
错误:无法将某些引用推送到'https://git.heroku.com/dentist-yash.git'
git错误:无法将某些引用推送到远程