エラーコードポータル
PythonPythonエラーコード

AttributeError

AttributeError

コード AttributeError · Pythonが報告した問題です。

属性参照 (「属性参照」を参照) または割り当てが失敗したときに発生します。 (オブジェクトが属性参照または属性割り当てをまったくサポートしていない場合、TypeError が発生します。) オプションの name および obj キーワードのみの引数は、対応する属性を設定します。

Google Translate · 自動翻訳です。専門用語や適用条件は英語の原文で確認してください。

Raised when an attribute reference (see Attribute references) or assignment fails. (When an object does not support attribute references or attribute assignments at all, TypeError is raised.) The optional name and obj keyword-only arguments set the corresponding attributes:

トラブルシューティング・診断リンク

まず、文書の製品・バージョン・発生環境が現在の状況と一致しているか確認してください。