错误代码门户
PythonPython错误代码

FileNotFoundError

FileNotFoundError

代码 FileNotFoundError · Python 报告的问题。

当请求文件或目录但不存在时引发。对应于 errno ENOENT。

Google Translate · 此内容为自动翻译。技术术语及适用条件请以英文原文为准。

Raised when a file or directory is requested but doesn’t exist. Corresponds to errno ENOENT.

故障排除与诊断链接

请先确认文档中的产品、版本及发生环境与当前情况一致。