当然还有很多文章上写的是安装cmake进行编译再安装boost然后再使用pip install dlib安装即可,但是本人试了...
'-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\suraj\\AppData\\Local\\Temp\\pip-install-ytzp5t26\\dlib\\build\\lib.win-amd64-3.7', '-DPYTHON_EXECUTABLE=c:\\users\\suraj\\appdata\\local\\programs\\python\\python37\\python.exe
[C:\Users\LENOVO\AppData\Local\Temp\pip-install-n0wf3b9r\dlib_94f3ffa0c38b412abab68539f53bd7be\build\temp.win-amd64-cpython-311\Release\ZERO_CHECK.vcxproj] 1>Checking Build System C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild...
当前虚拟环境的python3.8解释器下载安装包了: 其实下载的requsts包是首先下载一份到pip3默认的下载目录~/.local/lib/python3.6/site-packages/,然后才...']' returned non-zero exit status 1.",则可能是安装python3.8时没有安装匹配版本的venv包,sudo apt install python3.8-venv安装智能...
0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.03 Exit code: 1 -- Configuring incomplete, errors occurred! See also "C:/Users/Vikas Tiwari/AppData/Local/Temp/pip-install-4f4b8868/dlib/build/temp.win-amd64-3.6/Release/CMakeFiles/CMakeOutput.log". Traceback (most recent call last): ...
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ...
['cmake', '/tmp/pip-install-9n08rmx4/dlib/tools/python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-9n08rmx4/dlib/build/lib.linux-x86_64-3.8', '-DPYTHON_EXECUTABLE=/usr/bin/python3', '-DCMAKE_BUILD_TYPE=Release']'returned non-zero exit status1.---ERROR:Failed buildi...
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j80']' returned non-zero exit status 2. --- ERROR: Command errored out with exit status 1: /opt/conda/envs/torch1.5/bin/python -u -c 'import sys, setuptools, tokenize; sys.ar...
win32-2.7']' returned non-zero exit status 1 --- Command "c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\jehad\\appdata\\local\\temp\\pip-build-uz9hgn\\dlib\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('...
_OUTPUT_DIRECTORY=C:\\dlib-19.19.0\\build\\lib.win32-3.8', '-DPYTHON_EXECUTABLE=C:\\Users\\Leo\AppData\\Local\\Programs\\Python\\Python38-32\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\dlib-19.19.0\\build\\lib.win32-3.8']' returned non-zero exit status 1....