Error in Installing the face-recognition facing errors

Hey there,
just make a fork of face_recognition and change dlib requiment in setup.py to β†’ dlib-bin :exclamation:

Then go ahead and tell streamlit to use your fork in your requirements.txt like this

face_recognition @ git+https://github.com/thetoby9944/face_recognition

This will make sure face_recognition is using the precompiled dlib library instead of trying to compile itself.

That way the face_recognition is working for me on streamlit cloud. :+1: Hope i could help

5 Likes