A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
ValueError: Needs more than 3 values to unpack - anyone ever address this?
-
I’ve got this same problem - driving me mad
-
@BigBadJohnnyB this is a wrong python version compared to the code.
there is a user code fix for this… documented in the linked article.
-
this line of code in MMM-Facial-Recognition-Tools/lib/config.py
line 15(CV_MAJOR_VER, CV_MINOR_VER, mv1, mv2) = cv2.__version__.split(".")
that says parse the cv2 version string with a dot, and put the parts in the 4 variables…
BUT the cv2 version doesn’t have 4 parts after split… only 3… so the python assignment code doesn’t know what to do… it can’t fill in the 4th part (mv2)
AND
only CV_MAJOR_VER is used in the code following, so one could change the broken line toresult = cv2.__version__.split('.') CV_MAJOR_VER = result[0]