python opencv

cv2.error: OpenCV(4.4.0) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-4q0kz99f\opencv\modules\highgui\src\window.cpp:376: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'cv::imshow

查网得知,因版本高引起

pip install opencv-python==3.4.11.41 -i https://pypi.doubanio.com/simple
最新版不可用

你可能感兴趣的:(python)