. Advertisement .
..3..
. Advertisement .
..4..
When I run Django from the command line, I encounter the ”from django.core.management import execute_from_command_line”.
File manage.py, line 8, in <module>
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management
Can someone help me to fix this? Thanks!
The cause: When Django is not installed on your PC, this issue arises.
Solution: We should use pip to install Django to solve this issue.