please install face_recognition_models with this command before using face_recognition:
terminal command;
apple@macbook-pro-18 ~ % pip3 install face_recognition_models Requirement already satisfied: face_recognition_models in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (0.3.0) apple@macbook-pro-18 ~ %
Normally installation of
face_recognitionincludes automatic installation of all prerequisites (likedlib) andface_recognition_modelsas well. My advice is to uninstall everything you've installed and thenFinally, you should run your Py script under the same user you've installed the modules I guess.