F
F
fantom_ask2020-08-26 20:10:12
Heroku
fantom_ask, 2020-08-26 20:10:12

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

.gitignore
__pycache__/
*pyc
db.sqlite3

requirements.txt
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

I commented out my project and synced it with the project on github
and pushed to
git push heroku master
but I get the error
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'

I already read of.info but it did not help me,
I already tried to reinstall buildpack
heroku buildpacks:remove heroku/python
heroku buildpacks:set heroku/python

It didn't work

. I don't know what else to do.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
fantom_ask, 2020-08-30
@fantom_ask

A typo in the word reqirements.txt but it should have been requirements.txt

V
Valery Zhmyshenko, 2020-08-26
@mcborrrov

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 question

Ask a Question

731 491 924 answers to any question