Following this tutorial for deploying. Getting errors while deploying
Command ['/opt/render/project/src/.venv/bin/pip', 'install', '--no-deps', '/opt/render/.cache/.python-poetry/cache/artifacts/79/e7/a5/1b871f8d49c398a41993780ac53a78275730fd953d69f62546bdef0cf8/cryptography-38.0.1-cp36-abi3-manylinux_2_28_x86_64.whl'] errored with the following return code 1, and output:
ERROR: cryptography-38.0.1-cp36-abi3-manylinux_2_28_x86_64.whl is not a supported wheel on this platform.
WARNING: You are using pip version 20.1.1; however, version 22.2.2 is available.
You should consider upgrading via the '/opt/render/project/src/.venv/bin/python -m pip install --upgrade pip' command.
I tried adding pip upgrade command in build.sh file
Here is my build.sh file
#!/usr/bin/env bash
set -o errexit
poetry install
/opt/render/project/src/.venv/bin/python -m pip install --upgrade pip
python manage.py collectstatic --no-input
python manage.py migrate
I also tried with this pip install --upgrade pip
and this python -m pip install --upgrade pip
command.