UNSOLVED 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
(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)
only CV_MAJOR_VER is used in the code following, so one could change the broken line to
result = cv2.__version__.split('.') CV_MAJOR_VER = result