Django报错:python: can‘t open file ‘manage.py‘: [Errno 2] No such file or directory

Django运行python manage.py runserver报错

E:\电脑桌面\final>python manage.py runserver
python: can't open file 'manage.py': [Errno 2] No such file or directory

原因:当前目录下找不到manage.py
解决:
1.看自己的manage.py在什么路径下
Django报错:python: can‘t open file ‘manage.py‘: [Errno 2] No such file or directory_第1张图片
2.通过cd命令进入对应的路径
在这里插入图片描述
3.重新运行项目
Django报错:python: can‘t open file ‘manage.py‘: [Errno 2] No such file or directory_第2张图片

你可能感兴趣的:(Django,python,python,django)