已解决(pyautogui模块调用cv2定位屏幕坐标报错)AttributeError: partially initialized module ‘cv2’ has no attribute ‘gapi_wip_gst_GStreamerPipeline’ (most likely due to a circular import)
属性错误:部分初始化的模块“cv2”没有属性“gap_wip_gst_GStreamerPipeline”(很可能是由于循环导入)
pyautogui底层调用了其他模块,却没有安装依赖的模块所以报错了,小伙伴按照下面的代码安装依赖模块即可!!!
pip安装依赖模块opencv:
shellpip install opencv-python install "opencv-python-headless<4.3
出现版本号表明安装成功了:
本文作者:kyln.wu
本文链接:
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!