I keep getting this eeror when i am trying to deploy ERROR: No matching distribution found for Django==4.2.1 (from -r requirements.txt (line 4))

ERROR: No matching distribution found for Django==4.2.1 (from -r requirements.txt (line 4))
Jun 5 05:51:19 PM WARNING: You are using pip version 20.1.1; however, version 23.1.2 is available.
Jun 5 05:51:19 PM You should consider upgrading via the ‘/opt/render/project/src/.venv/bin/python -m pip install --upgrade pip’ command.
Jun 5 05:51:19 PM ==> Build failed :disappointed:

Hi there,

Django==4.2.1 requires Python 3.8, please make sure you are specifying the right Python version using the PYTHON_VERSION environment variable. Render still defaults to using the latest 3.7 patch version.

Regards,

Keith
Render Support, UTC+10 :australia:

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