[Errno 2] No such file or directory: 'Data/celeba\\list_eval_partition.txt'
时间: 2023-08-20 17:10:54 浏览: 207
python调用百度API实现车辆识别时遇到 FileNotFoundError: [Errno 2] No such file or directory 的解决办法
根据引用\[1\]和引用\[2\]的内容,你遇到的问题是在运行爬虫时出现了路径错误,报错信息为\[Errno 2\] No such file or directory: 'Data/celeba\\list_eval_partition.txt'。根据引用\[3\]的内容,可能是因为你在配置Python Interpreter时没有勾选Automatically upload project files to the server,导致代码没有同步到服务器上。解决方法是通过PyCharm的Tools–Deployment–Automatic Upload功能将代码同步到服务器上,这样你修改的代码才会生效。
#### 引用[.reference_title]
- *1* [如何解决:FileNotFoundError: 以及[Errno 2]No such file or directory](https://blog.csdn.net/dailybubble/article/details/124313437)[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^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [[Errno 2] No such file or directory:路径错误 奇怪解决](https://blog.csdn.net/m0_50027019/article/details/121045032)[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^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [FileNotFoundError:[Errno 2] No such file or directory :](https://blog.csdn.net/qq_42772612/article/details/114150060)[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^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文