django.core.exceptions.ImproperlyConfigured: WSGI application 'project.wsgi.application' could not be loaded; Error importing module.
I get the following error when I attempt to start my Django development server
django.core.exceptions.ImproperlyConfigured: WSGI application 'project.wsgi.application' could not be loaded; Error importing module.
Admin
2023-01-24
I had a similar error too. On further debugging I realise that it was because I added an app to my installed app settings that was not in my virtual environment. To fix check do the following;
- That your environment variable is active.
- Run pip freeze > requirements.txt to see all your installed packages and ensure that the ones in your installed app settings are also in your requirements.txt file
Add Message
Click on the button below to add a new message to this thread
Tags
#django
Thread detail
Satus: Open
Messages: 1Started: 2023-01-24loading..
Privacy Policy
By using our website,
you agree that devmaesters can store cookies on your device and disclose information in accordance with our privacy policy.