TypeError: __init__() got an unexpected keyword argument 'winmode'
时间: 2023-08-02 21:07:39 浏览: 415
这个报错是因为在初始化函数时传入了一个未预期的关键字参数'winmode'。根据引用\[1\]中的解决办法,可以尝试去掉多余的参数或者升级函数包。如果去掉多余的参数后问题仍然存在,可以考虑升级相关的函数包。另外,根据引用\[3\]中的提示,还可以检查一下文件路径是否正确,确保文件存在。
#### 引用[.reference_title]
- *1* [TypeError: __init__() got an unexpected keyword argument ‘serialized_options‘解决办法](https://blog.csdn.net/qq_40641713/article/details/122738109)[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^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [已解决TypeError: __init__() got an unexpected keyword argument ‘indices‘](https://blog.csdn.net/weixin_50843918/article/details/130417571)[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^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [解决TypeError: __init__() got an unexpected keyword argument ‘cachedir‘问题](https://blog.csdn.net/A20221103/article/details/129164278)[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^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文