SystemError: error return without exception set from model.getMean("mean")

again, what’s the face recognition for ? which problem should it solve ?
(is this some kind of student attendance system ?)

and just saying, in the example code you’re refering to, the mean and eigenvecs are only used for visualization, non-essential part of it
(there’s probably even noone looking … )