我已经设置了path,django在path中提到的脚本文件夹中。虚拟环境运行良好,我实际上可以在虚拟环境中安装django,但不能使用本地安装的django。D:\ALL_PROJECTS>python -m django-admin startproject example
C:\Users\myuser\AppData\Local\Programs\Python\Python36\python.exe: No module named django-admin
当我在终端中运行命令django-admin collectstatic时,我得到了以下错误: ModuleNotFoundError: No module named 'mysite' 它甚至出现在django-admin命令帮助列表的末尾 Type 'django-admin help <subcommand>' for help on a specific subcommand.