简体   繁体   English

Python Face_Recognition - Cmake | Dlib 安装错误窗口

[英]Python Face_Recognition - Cmake | Dlib Installation Error Windows

A big thanks for solving my problem.非常感谢您解决了我的问题。

1) I have Installed cmake using: pip install cmake & also using setup from their official Website. 1)我已经安装了cmake的使用: pip install cmake使用设置从他们的官方网站与也。 [Added to System and User Environment Vairable Path] : https://i.stack.imgur.com/v5O7w.png 【添加到系统和用户环境变量路径】: https ://i.stack.imgur.com/v5O7w.png

2) Installed Visual Studio 2019 and installed all relevant build Tools & Everything [Installed All imp Components along with Visual Studio 2019] https://i.stack.imgur.com/TVJdy.png 2) 安装了 Visual Studio 2019 并安装了所有相关的构建工具和一切 [安装了所有 imp 组件以及 Visual Studio 2019] https://i.stack.imgur.com/TVJdy.png

3) Still Getting Error while installing face_recognition. 3)安装face_recognition时仍然出错。 I get same error for dlib when i write我在写 dlib 时遇到同样的错误

pip install face_recognition 

or或者

pip install dlib

[error pics] https://i.stack.imgur.com/G5Ril.png | [错误图片] https://i.stack.imgur.com/G5Ril.png | https://i.stack.imgur.com/430YT.png | https://i.stack.imgur.com/430YT.png | https://i.stack.imgur.com/qYy70.png | https://i.stack.imgur.com/qYy70.png |

It might be due to the fact that your machine either does not have a C++ compiler, or the PATH is not set.可能是因为您的机器没有 C++ 编译器,或者没有设置 PATH。 Hope this helps!希望这可以帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM