Questions

ImportError: No module named django.core.management

0

I am trying to run my django project through virtualenvironment. but when I entered the command.

$ python manage.py runserver

I got this error.

Traceback (most recent call last):
File "manage.py", line 8, in <module>
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management

How to solve this error?



asked 1 year, 10 months ago
Reputation: 1





1 Answer

0

The error is showing probably because you have tried to run your project through virtual environment but forgot to install django over that virtual environment.

Just try to run

$ pip install django

and this should be fine.

answered 1 year, 10 months ago
Reputation: 1





Your Answer

Nothing to preview

Post Answer



Asked:  1 year, 10 months ago
Viewed:  1906 times
Active:  1 year, 10 months ago