FileNotFoundError: [Errno 2] No such file or directory: 'm'
时间: 2023-10-20 18:31:16 浏览: 85
FileNotFoundException: open failed: ENOENT (No such file or directory) 问题解决方案
5星 · 资源好评率100%
该错误通常是由于路径配置错误导致的。根据引用中的步骤,您需要确保在Geany的配置中正确设置了python执行文件的绝对路径。可以尝试直接复制粘贴提供的编译命令,并修改路径以确保路径正确无误。如果仍然出现该错误,可能是由于文件路径不正确导致的。请确保文件名和文件后缀与代码中的路径一致,并且文件确实存在于同一文件夹下。如果还是无法解决问题,建议检查文件名中是否包含特殊字符或空格,这可能会导致路径解析错误。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [‘FileNotFoundError: [Errno 2] No such file or directory:‘问题的解决](https://blog.csdn.net/weixin_43836337/article/details/124981041)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [python调用百度API实现车辆识别时遇到 FileNotFoundError: [Errno 2] No such file or directory 的解决...](https://download.csdn.net/download/weixin_38733414/13751418)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文