When I run above code, I’ve found following error message. Traceback (most recent call last): File “sample.py”, line 1, in import face_recognition And I’ve checked that I’ve found following error message when I’ve installed face_recognition library. pip install face_recognition Command “/usr/local/opt/python/bin/python3.7 -u -c “import setuptools, tokenize;file=’/private/var/folders/lj/cyczw6r164b5f3q1dvmbbkfh0000gn/T/pip-install-gk35rom0/dlib/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘rn’, ‘n’);f.close();exec(compile(code, file, ‘exec’))” install –record /private/var/folders/lj/cyczw6r164b5f3q1dvmbbkfh0000gn/T/pip-record-3enjhgfq/install-record.txt –single-version-externally-managed –compile” failed with error code
Tag: face-recognition
Attribute error while using opencv for face recognition
I am teaching myself how to use openCV by writing a simple face recognition program I found on youtube. I have installed opencv version 2 as well as numpy 1.8.0. I am using python 2.7. I copyed this code exactly how it was done in the video and article links below, yet I keep getting errors. AttributeError: ‘module’ object has