Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Business Intelligence
  3. Question
Business Intelligence

ImportError: No module named django.core.management when using manage.py

Asked by James Wilson Apr 8, 2021 2.9K views 1 answer
Share

About this question

I'm trying to run python manage.py runserver on a Django application I have and I get this error:

Traceback (most recent call last):

File "manage.py", line 8, in

 from django.core.management import execute_from_command_line

ImportError: No module named django.core.management

Here is the output of pip freeze | grep -i django to show I do in fact have Django installed:

Django==1.6.5

django-cached-authentication-middleware==0.2.0

django-cors-headers==1.1.0

django-htmlmin==0.7.0

django-static-precompiler==0.9

djangorestframework==2.3.14

Also, trying to run /usr/local/bin/python2.7 manage.py runserver yields the same error.

Your answer

1 Answer

More Business Intelligence discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Business Intelligence Blogs

Guides, tips and career advice on Business Intelligence from JanBask experts.