Ubuntu_opencv:AttributeError: module ‘cv2‘ has no attribute ‘nameWindow‘
Ubuntu下pyqt5使用opencv执行报错:AttributeError: module 'cv2' has no attribute 'nameWindow'解决:pip3 install opencv-contrib-pythonsudo apt-get install python3-opencv附4种pip下opencv安装包#主要模块pip3 install opencv-pyth
·
Ubuntu下pyqt5使用opencv执行报错:
AttributeError: module 'cv2' has no attribute 'nameWindow'
解决:
pip3 install opencv-contrib-python
sudo apt-get install python3-opencv
附4种pip下opencv安装包
#主要模块
pip3 install opencv-python
#更多模块,包含contrib
pip3 install opencv-contrib-python
#不带GUI功能
pip3 install opencv-python-headless
#不带GUI功能,包含contrib
pip3 install opencv-contrib-python-headless
更多推荐
已为社区贡献4条内容
所有评论(0)