Failing to activate an app using face_recognition

A streamlit app that runs ok in my local PC because I installed face_recognition with the following specification:
conda install -c conda-forge face_recognition
Uploading it to the streamlit cloud it fails trying to install face_recognition library. Addresses dlib wheel, CMake, also I included transformers from another comment. But it doesn’t work.
Includes this message. If you can give me some hints will be awesome.

ERROR: Command errored out with exit status 1: /home/appuser/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4f1rifid/dlib_a9d9c79a37ec4646b85a720367297a60/'"'"'; __file__='"'"'/tmp/pip-install-4f1rifid/dlib_a9d9c79a37ec4646b85a720367297a60/'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code ='"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-4k2yi7ou/install-record.txt --single-version-externally-managed --compile --install-headers /home/appuser/venv/include/site/python3.7/dlib Check the logs for full command output.
WARNING: You are using pip version 21.1.1; however, version 21.3.1 is available.

Hi @jcmachicao, welcome to the Streamlit community!

Can you link to the github repo you are deploying from?


1 Like

Sure. GitHub - jcmachicao/gdmkapp_facerecog
Thanks, will wait for your opinion