linux安装opencv

针对问题

AttributeError: module 'cv2' has no attribute 'imread'

partially initialized module 'cv2' has no attribute 'gapi_wip_gst_gstreamerpipeline' (most likely due to a circular import)

sudo apt-get install libopencv-dev

sudo apt update
sudo apt install libgl1-mesa-glx
 

你可能感兴趣的:(工具,linux,服务器,运维)