明确当时安装django使用的是pip install django还是pip3 install django 如果是后者,应该使用python3 manage.py startapp app来新建app即可解决报错