Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python version incompatibility with PythonAnywhere #1839

Open
ChaosCrafter opened this issue Jul 10, 2024 · 0 comments
Open

Python version incompatibility with PythonAnywhere #1839

ChaosCrafter opened this issue Jul 10, 2024 · 0 comments

Comments

@ChaosCrafter
Copy link

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:

  1. 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.
  2. Worst case, explain the meaning of the errors that occur when the wrong python version is used to help troubleshooting
  3. Update the install instructions to specify that python version 3.10 (rather than "latest") should be the one installed.
  4. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant