ValueError:need more than 3 values to unpack
Hi there. I'm testing a script i found on GitHub, but i keep getting a ValueError:
ValueError:need more than 3 values to unpack
Thats the complicated line in the script:
(CV_MAJOR_VER, CV_MINOR_VER, mv1, mv2) = cv2.__version__.split(".")
I am using OpenCv 3.3.0 and i already read that the Syntax has changed with 3.0 release, but i still can not solve this problem. I changed this line already to:
CV_MAJOR_VER, CV_MINOR_VER, mv1, mv2 = cv2.__version__.split(".")
But im stil getting the Value Error. Any help is appreciated.
What is the error message?
ValueError:need more than 3 values to unpack
I needed to see error message..eg in line x