Home > OS >  Questions about python install django module on the MAC
Questions about python install django module on the MAC

Time:09-27

!!!!!!!!! Urgent!!!!!!

I have more than two hours haven't set up the environment question!

I followed the book "Python programming from entry to practice" of chapter 18 to install django module, to create the database, the terminal type in Python manage. Py. Migrate, shows the Traceback (most recent call last) :
The File "is the manage. Py", line 8, the in & lt; module>
The from the django. Core. Management import execute_from_command_line
ModuleNotFoundError: No module named 'django'

During handling of the above exception, another exception occurred:

Traceback (the most recent call last) :
The File "is the manage. Py", line 14, the in & lt; module>
The import django
ModuleNotFoundError: No module named 'django'

During handling of the above exception, another exception occurred:

Traceback (the most recent call last) :
The File "is the manage. Py", line 17, in & lt; module>
"Couldn 't import Django. Are you sure it' s installed" and "
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?

I baidu many upgrade environment variables are not installed django module but always shows no installation for the collapse of, have a great god can teach how to return a responsibility
  • Related