Home > OS >  ImportError: No module named 'django'
ImportError: No module named 'django'

Time:03-03

When creating the administrator can appear the error, but also worked yesterday
 
Traceback (the most recent call last) :
The File "is the manage. Py", line 11, in the main
The from the django. Core. Management import execute_from_command_line
ImportError: No module named 'django'

The above exception was The direct cause of The following exception:

Traceback (the most recent call last) :
The File "is the manage. Py", line 22, in & lt; module>
The main ()
The File "is the manage. Py", line 17, in the main
) the from exc
ImportError: Couldn 't import Django. Are you sure it' s installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?




And django there



Can't find online, ask for help

CodePudding user response:

Pip3 install django
  • Related