pip 直接安装dlib库出现required to install pyproject.toml-based projects报错,大红字提示无法安装的问题。解决办法:

1、先安装cmake

执行:pip install cmake

2、用conda装:

执行:conda install -c https://conda.anaconda.org/conda-forge dlib

反正是成功了,可以试试

参考:https://blog.csdn.net/qq_43466323/article/details/120855699