Cannot install face_recognition or dlib on AWS linux
NickName:AJ222 Ask DateTime:2022-12-28T03:20:21

Cannot install face_recognition or dlib on AWS linux

When i run pip install face_recognition (or pip install dlib) i get this error:

Installing collected packages: dlib, face-recognition-models, face-recognition Running setup.py install for dlib ... error

running install running build running build_py package init file 'tools/python/dlib/init.py' not found (or not a regular file) running build_ext Building extension for Python 3.7.15 (default, Oct 31 2022, 22:44:31) Invoking CMake setup: 'cmake /tmp/pip-install-ahft03in/dlib/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-ahft03in/dlib/build/lib.linux-x86_64-3.7 -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_BUILD_TYPE=Release' -- The C compiler identification is unknown -- The CXX compiler identification is unknown CMake Error at CMakeLists.txt:14 (project): No CMAKE_C_COMPILER could be found.

Copyright Notice:Content Author:「AJ222」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/74933357/cannot-install-face-recognition-or-dlib-on-aws-linux

More about “Cannot install face_recognition or dlib on AWS linux” related questions

Cannot install face_recognition or dlib on AWS linux

When i run pip install face_recognition (or pip install dlib) i get this error: Installing collected packages: dlib, face-recognition-models, face-recognition Running setup.py install for dlib ... ...

Show Detail

face_recognition and dlib trying to use cuda while no nvidia card is installed

im trying to load the face_recognition on my intel w/ igpu, after isntalling and reinstalig dlib i havent be able to make it run, here is my code import face_recognition --------------------------...

Show Detail

How to install dlib on mac?

I have error as below and cannot install dlib. Pls help me, how to install dlib on mac. /Users/mac/PycharmProjects/pythonProject/venv/bin/python /Users/mac/PycharmProjects/pythonProject/main.py Tra...

Show Detail

face_recognition dlib error with CMake during installation

I'm trying to download face_recognition for a project. Keep getting this error. Any ideas to fix it? C:\>pip install face_recognition Requirement already satisfied: numpy in c:\python\lib\site-

Show Detail

Install dlib on linux

I followed the following steps to install dlib on Linux server: cd dlib mkdir build cd build cmake .. cmake --build . --config Release make install I got the following error: detect

Show Detail

How to correctly install Face_recognition?

I wanted to work on a project involving face recognition, but when I tried to install face_recognition library, it gave me this output- Collecting face_recognition Using cached https://files.

Show Detail

Error with dlib and face_recognition library

I am getting an error while importing the face_recognition library. I have tried using a Virtual Environment too. Please help. Traceback (most recent call last): File "<stdin>", l...

Show Detail

Force Dlib python to install with CPU support only; on a GPU machine with Cuda and everything

I have searched it over the internet and all I can find is that people having trouble with installation of Dlib with Cuda. I have exact opposite problem. I can successfully install Dlib with Cuda a...

Show Detail

Import face_recognition by python on ubuntu

I am trying to play around with face_recognition on python, but after I pip install the face_recognition module everytime I try to import face_recognition I get the following error messages: imp...

Show Detail

dlib is not installing in pythonanywhere virtualenv

I am trying to recognize faces in an image using "face_recognition" library,to use it we have to install dlib but when installing dlib in pythonanywhere virtualenv console it is throwing some errors

Show Detail