AttributeError: module 'cv2.cv2' has no attribute 'addWeighter'
时间: 2023-09-07 10:13:10 浏览: 200
你遇到的问题是AttributeError: module 'cv2.cv2' has no attribute 'addWeighter'。根据引用提供的解决方案,这个错误可能是由于导入的opencv-python包与其他opencv包不兼容所致。你可以通过使用命令pip list来查看当前安装的所有opencv包。确定是否存在多个opencv包导致冲突的情况。如果存在多个opencv包,可以尝试卸载除opencv-contrib-python之外的其他opencv包,然后重新安装opencv-contrib-python包。这样可能可以解决该错误。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [AttributeError: module ‘cv2.cv2‘ has no attribute ‘face](https://blog.csdn.net/qq_44692155/article/details/126542047)[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_2"}}] [.reference_item style="max-width: 50%"]
- *2* [无需降级scipy的情况下解决AttributeError: module ‘scipy.misc’ has no attribute ‘imread’,imresize...](https://download.csdn.net/download/weixin_38701640/13745210)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文