You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the latest python version is installed (currently 3.12) then it is not supported by PythonAnywhere (PA), and the instuctions on PA setup don't make it clear that the pip version needs to match the python version.
Pip3.10 and pa_autoconfigure_django.py --python=3.10 do work for python3.12 (at least as far as django templates stage, I've not explored further), but pip3.8 throws an error, and pa_autoconfigure_django.py --python=3.8 throws a page of library mismatches.
Suggestion:
Update the PythonAnywhere to reference --python=3.10 and pip3.10, or at least explain the need to use the right python version and the limits on PythonAnywhere.
Worst case, explain the meaning of the errors that occur when the wrong python version is used to help troubleshooting
Update the install instructions to specify that python version 3.10 (rather than "latest") should be the one installed.
If possible, monitor PythonAnywhere to track the latest python version supported, and update the site accordingly. Ideally, have LATEST_RECOMMENDED_PYTHON=3.10 defined on the site and used in the spots where the python version can change so it can be easily updated in one spot.
Language
This has been seen in the English language version, but likely exists in all languages.
Operating system
Seen while building in Windows, but OS independent, as it's a python version issue.
The text was updated successfully, but these errors were encountered:
Issue description
If the latest python version is installed (currently 3.12) then it is not supported by PythonAnywhere (PA), and the instuctions on PA setup don't make it clear that the pip version needs to match the python version.
Pip3.10 and pa_autoconfigure_django.py --python=3.10 do work for python3.12 (at least as far as django templates stage, I've not explored further), but pip3.8 throws an error, and pa_autoconfigure_django.py --python=3.8 throws a page of library mismatches.
Suggestion:
Language
This has been seen in the English language version, but likely exists in all languages.
Operating system
Seen while building in Windows, but OS independent, as it's a python version issue.
The text was updated successfully, but these errors were encountered: