Development/OpenCV
artially initialized module 'cv2' has no attribute '_registerMatType’
shuka
2023. 4. 19. 10:10
728x90
728x90
'cv2' has no attribute '_registerMatType’ 오류 발생
opencv-python-headless를 설치하고 다음과 같은 오류가 발생할 수 있다.
artially initialized module 'cv2' has no attribute '_registerMatType’
해결 방법
내가 해결한 방법의 경우는 opencv-python과 opencv-python-headless의 버전을 맞춰주니까 해결이 됐다.
opencv-python-headless의 버전을 opencv-python 버전에 맞춰서 다시 설치해주면 된다.
728x90
반응형