AttributeError: 'builtin_function_or_method' object has no attribute 'perf_counter'
时间: 2023-08-21 10:17:02 浏览: 211
这个错误提示是在使用'perf_counter'属性时发生的。根据引用\[1\]中的解决办法,这个错误通常是因为你在调用'perf_counter'属性之前没有正确导入相应的模块。请检查你的代码,确保你已经正确导入了包含'perf_counter'属性的模块。如果你没有导入正确的模块,你可以使用类似于'from time import perf_counter'的语句来导入所需的模块。这样,你就可以正确地使用'perf_counter'属性了。
#### 引用[.reference_title]
- *1* [AttributeError: ‘builtin_function_or_method‘ object has no attribute ‘view‘解决办法](https://blog.csdn.net/t18438605018/article/details/122137154)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [Python使用中报错信息:AttributeError: ‘builtin_function_or_method‘ object has no attribute ...](https://blog.csdn.net/lanxingbudui/article/details/124505489)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文