错误代码门户
PythonPython警告或状态代码

ImportWarning

ImportWarning

代码 ImportWarning · Python 报告的问题。

此条目包含不属于错误的警告或状态值。请查阅原文,确认其返回条件。

有关模块导入中可能出现的错误的警告的基类。 被默认警告过滤器忽略。启用 Python 开发模式会显示此警告。

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

Base class for warnings about probable mistakes in module imports. Ignored by the default warning filters. Enabling the Python Development Mode shows this warning.

故障排除与诊断链接

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