执行 django-admin.py startproject mysite 未新进项目 这是由于.py 文件的默认打开方式不是python.exe 将.py文件的默认打开方式修改为python.exe即可 django-admin.exe startproject mysite 也可以新建项目