Hello, I am has just updated my website from fishnchips to haggis. At the first time, everything is cool. However, the website is down. I got the following error message from error log.
2024-11-22 18:54:37,499: Error running WSGI application
2024-11-22 18:54:37,501: ImportError: No module named django.core.wsgi
2024-11-22 18:54:37,501: File "/var/www/MY-SITE_wsgi.py", line 23, in <module>
2024-11-22 18:54:37,501: from django.core.wsgi import get_wsgi_application
2024-11-22 18:54:37,501: ***************************************************
2024-11-22 18:54:37,501: If you're seeing an import error and don't know why,
2024-11-22 18:54:37,501: we have a dedicated help page to help you debug:
2024-11-22 18:54:37,501: https://help.pythonanywhere.com/pages/DebuggingImportError/
2024-11-22 18:54:37,501: ***************************************************
I check the installation about Django it has been installed.
Then I checked the link about ImportError above but it seems not the same case as mine.
The code in. /var/www/MY-SITE_wsgi.py is auto-generated, and I checked my settings.py but found nothing related.
It's my bad that I didn't follow the instruction to backup the virtualenv before system image upgrading, because the site only used Django and SQLite.
So what can I do to get the website back to normal again? Thank you very much.