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

ValueError

ValueError

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

操作または関数が型は正しいが値が不適切な引数を受け取り、その状況が IndexError などのより正確な例外によって説明されない場合に発生します。

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

Raised when an operation or function receives an argument that has the right type but an inappropriate value, and the situation is not described by a more precise exception such as IndexError.

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

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