Heroku Deployment Failed для приложения Django при развертывании текущего состояния ветки Git [дубликат]

Я синхронизировал приложение heroku с моим исходным кодом на GitHub, пока что он сделал только одну успешную сборку, и приложение выдает Application Error, когда я открываю приложение. Я выполнил все шаги,

added procfile
added requirements.txt
added runtime.txt
added URLs in the ALLOWED_HOSTS = [''] in settings.py
my project structure is as the following

--Project Root
  --DjangoBase
  --API
  --Files
  --Files

Ошибка, которую я получаю, заключается в следующем

-----> Building on the Heroku-20 stack
-----> Using buildpack: heroku/python
-----> Python app detected
-----> Using Python version specified in runtime.txt
Traceback (most recent call last):
  File "/tmp/codon/tmp/buildpacks/0f40890b54a617ec2334fac0439a123c6a0c1136/vendor/runtime-fixer", line 8, in <module>
    r = f.read().strip()
  File "/app/.heroku/python/lib/python3.10/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
/tmp/codon/tmp/buildpacks/0f40890b54a617ec2334fac0439a123c6a0c1136/bin/steps/python: line 5: warning: command substitution: ignored null byte in input
 !     Requested runtime (��python-3.10.2) is not available for this stack (heroku-20).
 !     Aborting.  More info: https://devcenter.heroku.com/articles/python-support
 !     Push rejected, failed to compile Python app.
 !     Push failed
Вернуться на верх