python.exe: can't open file 'C:\Users\21787\Desktop\Django\manage.py': [Errno 2] No such file or directory
时间: 2023-08-20 09:13:19 浏览: 122
根据引用\[1\]和引用\[3\]的内容,你遇到的错误是因为当前目录下找不到manage.py文件。解决方法是通过cd命令进入manage.py所在的路径,然后重新运行项目。在你的例子中,manage.py的路径是C:\Users\21787\Desktop\Django\manage.py。你可以使用cd命令进入该路径,然后再次运行项目。
#### 引用[.reference_title]
- *1* [Django报错:python: can‘t open file ‘manage.py‘: [Errno 2] No such file or directory](https://blog.csdn.net/weixin_47498728/article/details/116864544)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [问题总结python: can‘t open file ‘XXX‘: [Errno 2] No such file or directory](https://blog.csdn.net/weixin_51736742/article/details/119863044)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文