Faile to deploy django project

July 9, 2023 at 7:04 PM

Failed

Exited with status 1 while building your code.

4e0405cadded gunicorn

Jul 9 07:31:37 PM ERROR: No matching distribution found for Django==4.2.3 (from -r requirements.txt (line 2))
Jul 9 07:31:37 PM WARNING: You are using pip version 20.1.1; however, version 23.1.2 is available.
Jul 9 07:31:37 PM You should consider upgrading via the ‘/opt/render/project/src/.venv/bin/python -m pip install --upgrade pip’ command.
Jul 9 07:31:37 PM ==> Build failed :disappointed:

Hey,

Make sure to match the Python version on your service to the one you have locally: https://render.com/docs/python-version

The default Python version we’re serving is too old for the Django version you’re looking for.

Jérémy.
Render Support, UTC+3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.