文章摘要
文章介绍了Python中使用OpenCV时遇到的`AttributeError: module 'cv2' has no attribute 'wechat_qrcode_WeChatQRCode'`错误,原因是缺少`opencv-contrib-python`扩展模块。解决方法为同时安装`opencv-python`和`opencv-contrib-python`两个包。
首发博客地址
https://blog.zysicyj.top/
报错内容
AttributeError: module 'cv2' has no attribute 'wechat_qrcode_WeChatQRCode'
解决方法
pip install opencv-python
pip install opencv-contrib-python
``` opencv-contrib-python
本文是原创文章,采用 CC BY-NC-SA 4.0 协议,完整转载请注明来自 小朱
评论
隐私政策
0/500
滚动到此处加载评论...


