本文介绍了点安装face_recognition给出错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

RuntimeError:

RuntimeError:

必须安装CMake才能构建以下扩展:dlib

CMake must be installed to build the following extensions: dlib

dlib的建筑车轮失败 为dlib运行setup.py clean无法建立dlib

Failed building wheel for dlib Running setup.py clean for dlibFailed to build dlib

推荐答案

我也遇到了这个问题.我使用的是 windows ,并且有一个要安装要求的 python 环境.

I ran into this issue as well. I am using windows and have a python environment that I am installing the requirements to.

我先运行pip install cmake,然后先运行pip install dlib.我不再收到错误并成功安装了dlib.

I ran pip install cmake , and then pip install dlib. I no longer received the error and successfully installed dlib.

这篇关于点安装face_recognition给出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 18:03