feedId:58706759555518464+userId:69351397311164416


Python安装dlib包报错解决

150

系统:Windows Server 2023 Datacenter

环境:Anaconda , Python3.11.7

报错:ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects

解决方式:

conda install -c conda-forge dlib

当然也有其他解决方式,例如:

1.安装预编译轮子

Unofficial Windows Binaries for Python Extension Packages

2.使用新的依赖解析器

pip install dlib --use-feature=2020-resolver