成功解决Building wheels for collected packages: dlib Running setup.py bdist_wheel for dlib ... error

成功解决Building wheels for collected packages: dlib   Running setup.py bdist_wheel for dlib ... error

 

目录

解决问题

解决思路

解决方法


 

解决问题

Collecting dlib
  Using cached dlib-19.10.0.tar.gz
Building wheels for collected packages: dlib
  Running setup.py bdist_wheel for dlib ... error
  Failed building wheel for dlib
  Running setup.py clean for dlib
Failed to build dlib
Installing collected packages: dlib
  Running setup.py install for dlib ... error

 

解决思路

收集DLIB
使用缓存的dlib-19.10.0.tar.gz
为收集的包构建轮子:dlib
为DLIB运行setup.py bdist_车轮…错误
DLIB的建筑车轮出现故障
为DLIB运行setup.py clean
未能生成DLIB
安装收集的包:dlib
为dlib运行setup.py安装…错误

 

 

 

 

 

 

解决方法

请参考本人的另一个博客,Py之dlib:Python库之dlib库的简介、安装、使用方法详细攻略

 

 

 

 

 

 

 

一个处女座的程序猿 CSDN认证博客专家 华为杯研电赛一等 华为研数模一等奖 国内外AI竞十
人工智能硕博生,目前兼职国内外多家头部人工智能公司的AI技术顾问。拥有十多项发明专利(6项)和软件著作权(9项),多个国家级证书(2个国三级、3个国四级),先后获得国内外“人工智能算法”竞赛(包括国家级、省市级等,一等奖5项、二等奖4项、三等奖2项)相关证书十多个,以上均以第一作者身份,并拥有省市校级个人荣誉证书十多项。正在撰写《人工智算法最新实战》一书,目前已37万字。
已标记关键词 清除标记
使用python -m pip install dlib 出错原因如下: python -m pip install dlib Collecting dlib Using cached dlib-19.1.0.tar.gz Building wheels for collected packages: dlib Running setup.py bdist_wheel for dlib ... error Complete output from command D:\python语言\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\administrator\\appdata\\local\\temp\\pip-build-yjbauy\\dlib\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d c:\users\administrator\appdata\local\temp\tmpebunu3pip-wheel- --python-tag cp27: running bdist_wheel running build error: Cannot find cmake, ensure it is installed and in the path. You can install cmake using the instructions at https://cmake.org/install/ You can also specify its path with --cmake parameter. ---------------------------------------- Failed building wheel for dlib Running setup.py clean for dlib **Failed to build dlib Installing collected packages: dlib Running setup.py install for dlib ... error** Complete output from command D:\python语言\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\administrator\\appdata\\local\\temp\\pip-build-yjbauy\\dlib\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\administrator\appdata\local\temp\pip-xtjkek-record\install-record.txt --single-version-externally-managed --compile: running install running build error: Cannot find cmake, ensure it is installed and in the path. You can install cmake using the instructions at https://cmake.org/install/ You can also specify its path with --cmake parameter. ---------------------------------------- Command "D:\python语言\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\administrator\\appdata\\local\\temp\\pip-build-yjbauy\\dlib\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\administrator\appdata\local\temp\pip-xtjkek-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\administrator\appdata\loc 以前安装过python2和python3,现在已经把python3卸载了。 使用pip install XXX会出现错误,所以才用python -m pip install dlib windows 64为位的系统
©️2020 CSDN 皮肤主题: 代码科技 设计师:Amelia_0503 返回首页
实付 29.90元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值