win10 miniconda dlib安装

最终成功截图
win10 miniconda dlib安装_第1张图片

解决方案

  1. 安装cmake pip install cmake -i https://pypi.tuna.tsinghua.edu.cn/simple
  2. 安装vscode 记得选c++的组件
  3. 安装dlib pip install dlib -i https://pypi.tuna.tsinghua.edu.cn/simple 这一步要等一会儿

报错

  1. 无cmake直接安装dlib

ERROR: CMake must be installed to build dlib -------------------------------

  1. 无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++.
!!!

你可能感兴趣的:(python)