Skip to content

依赖全安好了结果显示导入解析不到,啥情况 #122

Description

@Tyssay

(stealer-py3.10) PS D:\Myprogrammer\Project\stealer> python3 manage.py runserver 0.0.0.0:8000
Traceback (most recent call last):
File "D:\Myprogrammer\Project\stealer\manage.py", line 10, in main
from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'

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

Traceback (most recent call last):
File "D:\Myprogrammer\Project\stealer\manage.py", line 21, in
main()
File "D:\Myprogrammer\Project\stealer\manage.py", line 12, in main
raise ImportError(
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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions