New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install dlbi despite meeting the requirements #886
Comments
Is cmake installed? Face_recognition is not officially supported on Windows, but you can install it with cmake installed (can be installed with pip). Might not be the issue, worth checking. |
Yes, |
I faced the same problem when trying to install dlib inside a virtual environment. |
Did you solve the problem?? |
I suggested a method which worked for me. Kindly review with the issue creator for updates. Thank you. |
Solved the problem for me in MacOS 10.14.6. Thanks! |
(opencv-env) C:\Users\huuthoang>pip install face_recognition
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
'Topic :: Software Development', File "C:\Users\huuthoang\AppData\Local\Continuum\anaconda3\envs\opencv-env\lib\site-packages\setuptools_init_.py", line 144, in setup return distutils.core.setup(**attrs) File "C:\Users\huuthoang\AppData\Local\Continuum\anaconda3\envs\opencv-env\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Users\huuthoang\AppData\Local\Continuum\anaconda3\envs\opencv-env\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "C:\Users\huuthoang\AppData\Local\Continuum\anaconda3\envs\opencv-env\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\huuthoang\AppData\Local\Continuum\anaconda3\envs\opencv-env\lib\site-packages\wheel\bdist_wheel.py", line 223, in run self.run_command('build') File "C:\Users\huuthoang\AppData\Local\Continuum\anaconda3\envs\opencv-env\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\huuthoang\AppData\Local\Continuum\anaconda3\envs\opencv-env\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\huuthoang\AppData\Local\Continuum\anaconda3\envs\opencv-env\lib\distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "C:\Users\huuthoang\AppData\Local\Continuum\anaconda3\envs\opencv-env\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\huuthoang\AppData\Local\Continuum\anaconda3\envs\opencv-env\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\HUUTHO subprocess.check_call(cmake_setup, cwd=build_folder) File "C:\Users\huuthoang\AppData\Local\Continuum\anaconda3\envs\opencv-env\lib\subprocess.py", line 363, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', 'C:\Users\HUUTHO |
1.2.3
3.7.3
Windows 10 1903
Description
Unable to install
dlib
viapip3
despite meeting the requirements.What I Did
The text was updated successfully, but these errors were encountered: