Django core management error

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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s