最终成功截图
解决方案
- 安装cmake
pip install cmake -i https://pypi.tuna.tsinghua.edu.cn/simple
安装vscode
记得选c++的组件- 安装dlib
pip install dlib -i https://pypi.tuna.tsinghua.edu.cn/simple
这一步要等一会儿
报错
- 无cmake直接安装dlib
ERROR: CMake must be installed to build dlib -------------------------------
- 无vscode直接dlib
!!!
You must use Visual Studio to build a python extension on windows. If you
are getting this error it means you have not installed Visual C++. Note
that there are many flavors of Visual Studio, like Visual Studio for C#
development. You need to install Visual Studio for C++.
!!!