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]
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login