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

[wsgi:error] [pid 1956743] [remoteserver -ip] ImportError: No module named django.core.wsgi #866

Open
Abhinavwani3141 opened this issue Nov 21, 2023 · 1 comment

Comments

@Abhinavwani3141
Copy link

website is hosted on ec2 apache web server after checking error log this error is shown [wsgi:error] [pid 1956743] [remoteserver -ip] ImportError: No module named django.core.wsgi but django is already intalled

@GrahamDumpleton
Copy link
Owner

Impossible to give any advice without seeing what mod_wsgi configuration you used and details about where Django was installed to, plus where your project code is. If you are using a Python virtual environment to install Django into, you need to configure mod_wsgi to tell it where the Python virtual environment is. The Django documentation provides example of how to do this for mod_wsgi so make sure you are interpreting the Django documentation correctly.

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

2 participants