Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

(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.

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.

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. appreciated.

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:

ValueError:need more than 3 values to unpack

Thats the complicated line in the script.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.