Ошибка при продвижении моего проекта django в heroku
Я хочу развернуть свой проект в heroku, поэтому я запускаю
- heroku login
- heroku create
- heroku git:remote -a frozen-ravine-47377
- heroku config:set DISABLE_COLLECTSTATIC=1
все готово и когда я запускаю git push heroku master, я получаю ошибку:
$ git push heroku master
Enumerating objects: 278, done.
Counting objects: 100% (278/278), done.
Delta compression using up to 4 threads
Compressing objects: 100% (272/272), done.
Writing objects: 100% (278/278), 694.38 KiB | 5.99 MiB/s, done.
Total 278 (delta 126), reused 0 (delta 0), pack-reused 0
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Building on the Heroku-20 stack
remote: -----> Determining which buildpack to use for this app
remote: -----> Python app detected
remote: -----> Using Python version specified in runtime.txt
remote: Traceback (most recent call last):
remote: File "/tmp/codon/tmp/buildpacks/0f40890b54a617ec2334fac0439a123c6a0c1136/vendor/runtime-fixer", line 8, in <module>
remote: r = f.read().strip()
remote: File "/usr/lib/python3.8/codecs.py", line 322, in decode
remote: (result, consumed) = self._buffer_decode(data, self.errors, final)
remote: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
remote: /tmp/codon/tmp/buildpacks/0f40890b54a617ec2334fac0439a123c6a0c1136/bin/steps/python: line 5: warning: command substitution: ignored null byte in input
remote: ) is not available for this stack (heroku-20).
remote: ! Aborting. More info: https://devcenter.heroku.com/articles/python-support
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: !
remote: ! ## Warning - The same version of this code has already been built: d3e74dc8ca2a3e3bd1dd798cbd674091a863dac8
remote: !
remote: ! We have detected that you have triggered a build from source code with version d3e74dc8ca2a3e3bd1dd798cbd674091a863dac8
remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch.
remote: !
remote: ! If you are developing on a branch and deploying via git you must run:
remote: !
remote: ! git push heroku <branchname>:main
remote: !
remote: ! This article goes into details on the behavior:
remote: ! https://devcenter.heroku.com/articles/duplicate-build-version
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to murmuring-brushlands-34860.
remote:
To https://git.heroku.com/murmuring-brushlands-34860.git
! [remote rejected] master -> master (pre-receive hook declined)
error: fa
любая идея для решения этой проблемы