ThoughtfulDev / EagleEye

Stalk your Friends. Find their Instagram, FB and Twitter Profiles using Image Recognition and Reverse Image Search.
Do What The F*ck You Want To Public License
4.19k stars 558 forks source link

Cannot import face_recognition on python3.6.8 #54

Closed G90DD closed 5 years ago

G90DD commented 5 years ago

Using python3.6.8, cannot import face_recognition, getting the below error:

Command "/home/george/EagleEye/venv/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-install-vfg0i0dv/dlib/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-pwnyeh3e/install-record.txt --single-version-externally-managed --compile --install-headers /home/george/EagleEye/venv/include/site/python3.6/dlib" failed with error code 1 in /tmp/pip-install-vfg0i0dv/dlib/

All the other requirements are installed without problems.

Any ideas?

ThoughtfulDev commented 5 years ago

Which os are you using? Please try using a Ubuntu 16.04 VM. Try uninstalling face_recognition and dlib. Then install only dlib and then face_recognition

G90DD commented 5 years ago

Linux MInt 18.3

I will set up a vm and let you know,

thanks