Forums

Existing Django Project - WSGI issues

I pulled an existing project from github and creating the appropriate env for django and pillow. I'm still getting this error?

2023-04-06 01:57:01,610: Error running WSGI application 2023-04-06 01:57:01,613: ModuleNotFoundError: No module named 'django' 2023-04-06 01:57:01,613: File "/var/www/<NAME>.py", line 10, in <module> 2023-04-06 01:57:01,614: from django.core.wsgi import get_wsgi_application

Have you set the virtualenv for the website on the "Web" page inside PythonAnywhere? I see that you have quite a lot of websites on your account, so I couldn't check to see. As it looks like you (entirely understandably!) don't want to post the full URL of your site here on the forums, perhaps it would be better to move to email (support@pythonanywhere.com) -- then you could give us more details than you'd want to share publicly, and we might be able to help you better.