|
(base) C:\Users\user>pip install dlib WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. Collecting dlib Using cached dlib-19.22.1.tar.gz (7.4 MB) Building wheels for collected packages: dlib Building wheel for dlib (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\user\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-rc3oihki\\dlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-rc3oihki\\dlib\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\user\AppData\Local\Temp\pip-wheel-aglblwbv' cwd: C:\Users\user\AppData\Local\Temp\pip-install-rc3oihki\dlib\ Complete output (8 lines): running bdist_wheel running build running build_py package init file 'tools\python\dlib\__init__.py' not found (or not a regular file) running build_ext
ERROR: CMake must be installed to build 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 ERROR: Command errored out with exit status 1: command: 'C:\Users\user\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-rc3oihki\\dlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-rc3oihki\\dlib\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\user\AppData\Local\Temp\pip-record-xqx09x51\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\user\Anaconda3\Include\dlib' cwd: C:\Users\user\AppData\Local\Temp\pip-install-rc3oihki\dlib\ Complete output (8 lines): running install running build running build_py package init file 'tools\python\dlib\__init__.py' not found (or not a regular file) running build_ext
ERROR: CMake must be installed to build dlib
---------------------------------------- ERROR: Command errored out with exit status 1: 'C:\Users\user\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-rc3oihki\\dlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-rc3oihki\\dlib\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\user\AppData\Local\Temp\pip-record-xqx09x51\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\user\Anaconda3\Include\dlib' Check the logs for full command output. WARNING: You are using pip version 20.0.2; however, version 21.2.4 is available. You should consider upgrading via the 'C:\Users\user\Anaconda3\python.exe -m pip install --upgrade pip' command. |