[英]pip3 install face_recognition error [Windows]
I am trying to follow this tutorial https://towardsdatascience.com/a-beginners-guide-to-building-your-own-face-recognition-system-to-creep-out-your-friends-df3f4c471d55 .我正在尝试遵循本教程https://towardsdatascience.com/a-beginners-guide-to-building-your-own-face-recognition-system-to-creep-out-your-friends-df3f4c471d55 。 I was able to run the
pip3 install cmake
but not pip3 install face_recognition
or pip3 install dlib
.我能够运行
pip3 install cmake
但不能运行pip3 install face_recognition
或pip3 install dlib
。 When executing those commands, i receive the following:执行这些命令时,我收到以下信息:
I already have Visual Studio Code 2020 with Python, C/C++ and Cmake extensions installed.我已经安装了带有 Python、C/C++ 和 Cmake 扩展的 Visual Studio Code 2020。 My python version is 3.8.5.
我的 python 版本是 3.8.5。
I got it to work!我让它工作! Thanks for helping gulbaz khan.
感谢您帮助古尔巴兹汗。 But I still don't know what bug it is but this is what I did to make it work:
但我仍然不知道它是什么错误,但这就是我为使其工作所做的工作:
I had to install dlib manually into my desktop.我必须手动将 dlib 安装到我的桌面上。 There are a handful of repositories in github to find this.
github 中有一些存储库可以找到它。 From my command prompt, i accessed the directory which containts the dlib .whl file and ran that.
从我的命令提示符,我访问了包含 dlib .whl 文件的目录并运行它。 Afterwards, i
pip install face_recognition
and everything has been installed!之后,我
pip install face_recognition
一切都已安装!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.