Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Django core management error

📅 2016-Jan-13 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ django, error, virtualenv ⬩ 📚 Archive

Problem

I ran the Django manage.py script and got this error:

ImportError: No module named django.core.management

Solution

The error message gives no indication of the true cause. This was required to be executed in a virtualenv and I had not activated the virtualenv, hence the error. It went away when I ran it after activating the virtualenv.


© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧