Django heroku requirements.txt ошибки при push
Я разворачиваю свой django проект/PWA с помощью heroku. Я сгенерировал файл requirements.txt с
pip freeze > requirement.txt
Затем я удалил все @... пути из-за следующей ошибки:
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: -----> No Python version was specified. Using the buildpack default: python-3.9.9
remote: To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes
remote: -----> Installing python-3.9.9
remote: -----> Installing pip 21.3.1, setuptools 57.5.0 and wheel 0.37.0
remote: -----> Installing SQLite3
remote: -----> Installing requirements with pip
remote: Processing /C:/ci/argon2-cffi_1596828585465/work
remote: ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/C:/ci/argon2-cffi_1596828585465/work'
remote:
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: 15051a62cb1a7471031f124c1aa85ab62a1073c4
remote: !
remote: ! We have detected that you have triggered a build from source code with version 15051a62cb1a7471031f124c1aa85ab62a1073c4
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 nameless-sea-67566.
remote:
но, даже после удаления @, он все равно читает из того же несуществующего пути.
Вот полное содержание файла requirements.txt, который у меня есть:
astroid
brotlipy==0.7.0
certifi==2021.10.8
cffi
charset-normalizer
colorama
cryptography
Django==2.1.5
django-crispy-forms==1.13.0
django-pwa==1.0.10
idna
isort
lazy-object-proxy
mccabe==0.6.1
olefile==0.46
Pillow
pycparser
pylint
pyOpenSSL
PySocks
pytz==2021.3
requests
six
toml
typed-ast
typing-extensions
urllib3==1.26.7
win-inet-pton
wincertstore==0.2
wrapt==1.12.1