ModuleNotFoundError: No module named 'django'

problem description

runs under the conda command, but debug reports an error under pycharm

from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named "django"

the platform version of the problem and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)
(base) D:DEEpanpythonDjangoPorject > python manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
You have unapplied migrations Your app may not work properly until they are applied.
Run "python manage.py migrate" to apply them.
January 28, 2019-21:39:40
Django version 1.8 Using settings" DjangoPorject.settings"
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
[28/Jan/2019 21:41:31]" GET / HTTP/1.1 "1767
[28/Jan/2019 21:41:31]" GET / favicon.ico HTTP/1.1 "404 1943
[28/Jan/2019 22:02:17]" GET / HTTP/1.1 "200 1767
[28/Jan/2019 22:31:04]" GET / HTTP/1.1 "200 1767

what result do you expect? What is the error message actually seen?

May.27,2022

Please make sure that your python environment is the correct virtual environment, check the settings of File- > Settings- > Project- > Project Interpreter, and see if the Django module is installed in the selected environment.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea3c0d-47a46.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea3c0d-47a46.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?