Django报错:python: can‘t open file ‘manage.py‘: [Errno 2] No such file or directory
程序员文章站
2022-07-15 22:16:37
...
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在什么路径下
2.通过cd
命令进入对应的路径
3.重新运行项目
上一篇: 访问器属性
推荐阅读
-
Django报错:python: can‘t open file ‘manage.py‘: [Errno 2] No such file or directory
-
python: can‘t open file ‘sqlmap.py‘: [Errno 2] No such file or directory
-
Python open: FileNotFoundError: [Errno 2] No such file or directory
-
Fatal error:can't open or lock privilege tables:can't find file:'host'(errno:2)
-
FileNotFoundError: [Errno 2] No such file or directory: ‘errors.out‘ (python自然语言处理 5.6 最后的示例报错)