Answer the question
In order to leave comments, you need to log in
Why doesn't heroku want to load my project?
I added
Procfile
web: gunicorn myfist.wsgi --log-file -
runtime.txt files to the project
python-3.7.6
I also tried
python-3.7.4
python-3.7.8
python-3.6.1
__pycache__/
*pyc
db.sqlite3
dj-database-url==0.5.0
Django==3.0.3
djangorestframework==3.11.0
gunicorn==20.0.4
oauthlib==3.1.0
PyJWT==1.7.1
requests==2.23.0
requests-oauthlib==1.3.0
six==1.14.0
whitenoise==5.2.0
wrapt==1.12.0
psycopg2==2.6.2
git push heroku master
Enumerating objects: 50, done.
Counting objects: 100% (50/50), done.
Delta compression using up to 8 threads
Compressing objects: 100% (42/42), done.
Writing objects: 100% (50/50), 14.01 KiB | 421.00 KiB/s, done.
Total 50 (delta 10), reused 3 (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/buildp...
remote: More info: https://devcenter.heroku.com/articles/buildpacks#d...
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to shielded-bastion-00322.
remote:
To https://git.heroku.com/shielded-bastion-00322.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/shielded-bastion-00322.git'
heroku buildpacks:remove heroku/python
heroku buildpacks:set heroku/python
Answer the question
In order to leave comments, you need to log in
A typo in the word reqirements.txt but it should have been requirements.txt
Try to restart the terminal (close and open) and log in again. This happens sometimes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question