Django - “no module named django.core.management”

557    Asked by DanielBAKER in Python , Asked on Jun 10, 2021

I get the following error when trying to run Django from the command line.

File manage.py, line 8, in 
     from django.core.management import execute_from_command_line
ImportError: No module named django.core.management

Any ideas on how to solve the error “from django.core.management import execute_from_command_line”?

Answered by Ashish Sinha

  To resolve this error, you can use:

sudo pip install django --upgrade



Your Answer

Interviews

Parent Categories