ImportError: No module named


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

$ python runserver

I got this error.

Traceback (most recent call last):
File "", line 8, in <module>
from import execute_from_command_line
ImportError: No module named

How to solve this error?

asked 2 years, 3 months ago
Reputation: 1

1 Answer


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 2 years, 3 months ago
Reputation: 1

Your Answer

Nothing to preview

Post Answer

Asked:  2 years, 3 months ago
Viewed:  2324 times
Active:  2 years, 3 months ago