1 问题描述
在安装模型运行的conda环境时,出现如下问题:
Building wheels for collected packages: basicsr, face-alignment, dlib, ffmpy, filterpy, future
Building wheel for basicsr (setup.py) ... done
Created wheel for basicsr: filename=basicsr-1.4.2-py3-none-any.whl size=214848 sha256=a369da2f20c23d7f389b174f7fd3423377b4020022ff6234a98d21838d109e8e
Stored in directory: c:\users\admin\appdata\local\pip\cache\wheels\b8\12\22\9e31eeca4e56e9ca769f4d3bf4bf0434dcb6aa3a669a719970
Building wheel for face-alignment (setup.py) ... done
Created wheel for face-alignment: filename=face_alignment-1.3.4-py2.py3-none-any.whl size=27875 sha256=feb3a8fe39f518c67f16510754de6fca2cffb9a98857586485f350f3564e18cb
Stored in directory: c:\users\admin\appdata\local\pip\cache\wheels\de\68\f5\76db2e5ffbc882386a686244cb7058309a1cee25d6c1c54553
Building wheel for dlib (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
running bdist_wheel
running build
running build_py
running build_ext
ERROR: CMake must be installed to build dlib
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for dlib
Running setup.py clean for dlib

文章讲述了在安装过程中遇到的Conda环境构建dlib包失败的问题,分析了原因(CMake缺失),提供了使用conda命令安装dlib并管理conda环境的方法,强调了Conda在包管理和环境隔离中的优势。
最低0.47元/天 解锁文章
84

被折叠的 条评论
为什么被折叠?



