'list' object has no attribute 'log'
时间: 2023-09-03 13:08:04 浏览: 137
当试图访问一个对象属性不存在时,会抛出'list' object has no attribute 'log'的异常。这意味着在尝试访问一个名为'log'的属性时,发现该对象是一个列表类型,而列表类型没有名为'log'的属性。这通常发生在代码中使用了错误的属性名称或者对象类型不正确的情况下。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [python的错误和异常处理](https://blog.csdn.net/deliberate_cha/article/details/105799467)[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_1"}}] [.reference_item style="max-width: 50%"]
- *2* [GIT2.33.0.2最新版本.zip](https://download.csdn.net/download/u014041769/24506343)[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_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文