mirror of
https://github.com/Haoming02/sd-webui-old-photo-restoration.git
synced 2026-11-05 00:28:04 +00:00
[GH-ISSUE #4] Dlib wheel failing to build #5
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Haoming02/sd-webui-old-photo-restoration#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Legendaryl123 on GitHub (Jan 28, 2024).
Original GitHub issue: https://github.com/Haoming02/sd-webui-old-photo-restoration/issues/4
90% of the required items install and setup perfect.
I followed install instructions exactly as supplied. Extracting each zip files content folder and files into correct locations.
Happens across multiple machines.
Any help apprecitated.
HERE IS A DUMP OF THE ERROR I'M GETTING - THIS IS NOT THE FULL CONSOLE LOG - JUST WHERE IS RELEVANT
THIS SEEMS LIKE SOMETHING I'M CLOSE TO FINDING - LIKE A SMALL TYPO
CONSOLE DUMP: STARTS THE LINE BELOW
Installing requirements for Face Editor
*** Error running install.py for extension C:\Stable Diffusion\clean-stable-diffusion-webui\extensions\sd-webui-old-photo-restoration.
*** Command: "C:\Stable Diffusion\clean-stable-diffusion-webui\venv\Scripts\python.exe" "C:\Stable Diffusion\clean-stable-diffusion-webui\extensions\sd-webui-old-photo-restoration\install.py"
*** Error code: 1
*** stdout:
*** Installing Requirements for Bringing-Old-Photos-Back-to-Life...
*** Installing Old-Photo-Restoration Requirement: dlib
*** stderr: Traceback (most recent call last):
*** File "C:\Stable Diffusion\clean-stable-diffusion-webui\extensions\sd-webui-old-photo-restoration\install.py", line 19, in
*** launch.run_pip(f"install {package}", f"Old-Photo-Restoration Requirement: {package}")
*** File "C:\Stable Diffusion\clean-stable-diffusion-webui\modules\launch_utils.py", line 144, in run_pip
*** return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live)
*** File "C:\Stable Diffusion\clean-stable-diffusion-webui\modules\launch_utils.py", line 116, in run
*** raise RuntimeError("\n".join(error_bits))
*** RuntimeError: Couldn't install Old-Photo-Restoration Requirement: dlib.
*** Command: "C:\Stable Diffusion\clean-stable-diffusion-webui\venv\Scripts\python.exe" -m pip install dlib --prefer-binary
*** Error code: 1
*** stdout: Collecting dlib
*** Using cached dlib-19.24.2.tar.gz (11.8 MB)
*** Installing build dependencies: started
*** Installing build dependencies: finished with status 'done'
*** Getting requirements to build wheel: started
*** Getting requirements to build wheel: finished with status 'done'
*** Preparing metadata (pyproject.toml): started
*** Preparing metadata (pyproject.toml): finished with status 'done'
*** Building wheels for collected packages: dlib
*** Building wheel for dlib (pyproject.toml): started
*** Building wheel for dlib (pyproject.toml): still running...
*** Building wheel for dlib (pyproject.toml): finished with status 'error'
*** Failed to build dlib
*** stderr: error: subprocess-exited-with-error
*** Building wheel for dlib (pyproject.toml) did not run successfully.
*** exit code: 1
*** [550 lines of output]
*** running bdist_wheel
*** running build
*** running build_ext
*** :125: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
*** Building extension for Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
*** Invoking CMake setup: 'cmake C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\lib.win-amd64-cpython-310 -DPYTHON_EXECUTABLE=C:\Stable Diffusion\clean-stable-diffusion-webui\venv\Scripts\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\lib.win-amd64-cpython-310 -A x64'
*** -- Building for: Visual Studio 17 2022
*** -- The C compiler identification is MSVC 19.37.32825.0
*** -- The CXX compiler identification is MSVC 19.37.32825.0
*** -- Detecting C compiler ABI info
*** -- Detecting C compiler ABI info - done
*** -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe - skipped
*** -- Detecting C compile features
*** -- Detecting C compile features - done
*** -- Detecting CXX compiler ABI info
*** -- Detecting CXX compiler ABI info - done
*** -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe - skipped
*** -- Detecting CXX compile features
*** -- Detecting CXX compile features - done
*** CMake Deprecation Warning at C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/dlib/external/pybind11/CMakeLists.txt:8 (cmake_minimum_required):
*** Compatibility with CMake < 3.5 will be removed from a future version of
*** CMake.
*** Update the VERSION argument value or use a ... suffix to tell
*** CMake that the project does not need compatibility with older versions.
*** -- pybind11 v2.10.0
*** CMake Warning (dev) at C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/dlib/external/pybind11/tools/FindPythonLibsNew.cmake:98 (find_package):
*** Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
*** are removed. Run "cmake --help-policy CMP0148" for policy details. Use
*** the cmake_policy command to set the policy and suppress this warning.
*** Call Stack (most recent call first):
*** C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/dlib/external/pybind11/tools/pybind11Tools.cmake:50 (find_package)
*** C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/dlib/external/pybind11/tools/pybind11Common.cmake:180 (include)
*** C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/dlib/external/pybind11/CMakeLists.txt:200 (include)
*** This warning is for project developers. Use -Wno-dev to suppress it.
*** -- Found PythonInterp: C:/Stable Diffusion/clean-stable-diffusion-webui/venv/Scripts/python.exe (found suitable version "3.10.6", minimum required is "3.6")
*** -- Found PythonLibs: C:/Users/Daryl_2/AppData/Local/Programs/Python/Python310/libs/python310.lib
*** -- Performing Test HAS_MSVC_GL_LTCG
*** -- Performing Test HAS_MSVC_GL_LTCG - Success
*** -- Using CMake version: 3.28.1
*** -- Compiling dlib version: 19.24.2
*** -- Looking for sys/types.h
*** -- Looking for sys/types.h - found
*** -- Looking for stdint.h
*** -- Looking for stdint.h - found
*** -- Looking for stddef.h
*** -- Looking for stddef.h - found
*** -- Check size of void*
*** -- Check size of void* - done
*** -- Enabling SSE2 instructions
*** -- Searching for BLAS and LAPACK
*** -- Searching for BLAS and LAPACK
*** -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
*** -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
*** -- Looking for pthread_create in pthreads
*** -- Looking for pthread_create in pthreads - not found
*** -- Looking for pthread_create in pthread
*** -- Looking for pthread_create in pthread - not found
*** -- Found Threads: TRUE
*** CMake Warning (dev) at C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/dlib/CMakeLists.txt:628 (find_package):
*** Policy CMP0074 is not set: find_package uses _ROOT variables.
*** Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
*** command to set the policy and suppress this warning.
*** Environment variable CUDA_ROOT is set to:
*** C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8
*** For compatibility, CMake is ignoring the variable.
*** This warning is for project developers. Use -Wno-dev to suppress it.
*** CMake Warning (dev) at C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/dlib/CMakeLists.txt:628 (find_package):
*** Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake
*** --help-policy CMP0146" for policy details. Use the cmake_policy command to
*** set the policy and suppress this warning.
*** This warning is for project developers. Use -Wno-dev to suppress it.
*** -- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8 (found suitable version "11.8", minimum required is "7.5")
*** -- Looking for cuDNN install...
*** -- Found cuDNN: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/lib/x64/cudnn.lib
*** -- Building a CUDA test project to see if your compiler is compatible with CUDA...
*** CMake Warning (dev) at C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/dlib/cmake_utils/test_for_cuda/CMakeLists.txt:10 (find_package):
*** Policy CMP0074 is not set: find_package uses _ROOT variables.
*** Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
*** command to set the policy and suppress this warning.
*** Environment variable CUDA_ROOT is set to:
*** C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8
*** For compatibility, CMake is ignoring the variable.
*** This warning is for project developers. Use -Wno-dev to suppress it.
*** CMake Warning (dev) at C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/dlib/cmake_utils/test_for_cuda/CMakeLists.txt:10 (find_package):
*** Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake
*** --help-policy CMP0146" for policy details. Use the cmake_policy command to
*** set the policy and suppress this warning.
*** This warning is for project developers. Use -Wno-dev to suppress it.
*** -- *****************************************************************************************************************
*** -- *** CUDA was found but your compiler failed to compile a simple CUDA program so dlib isn't going to use CUDA.
*** -- *** The output of the failed CUDA test compile is shown below:
*** -- ***
*** -- *** Change Dir: 'C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/build/temp.win-amd64-cpython-310/Release/dlib_build/cuda_test_build'
*** *** Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe" ALL_BUILD.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n
*** *** MSBuild version 17.7.2+d6990bcfa for .NET Framework
*** *** Build started 1/27/2024 8:16:48 PM.
*** *** Project "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\ALL_BUILD.vcxproj" on node 1 (default targets).
*** *** Project "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\ALL_BUILD.vcxproj" (1) is building "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
*** *** PrepareForBuild:
*** *** Creating directory "x64\Debug\ZERO_CHECK".
*** *** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\ZERO_CHECK.vcxproj]
*** *** Creating directory "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog".
*** *** InitializeBuildStatus:
*** *** Creating "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
*** *** Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
*** *** CustomBuild:
*** *** 1>Checking Build System
*** *** FinalizeBuildStatus:
*** *** Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
*** *** Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
*** *** Done Building Project "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\ZERO_CHECK.vcxproj" (default targets).
*** *** Project "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\ALL_BUILD.vcxproj" (1) is building "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj" (3) on node 1 (default targets).
*** *** PrepareForBuild:
*** *** Creating directory "cuda_test.dir\Debug".
*** *** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj]
*** *** Creating directory "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\Debug".
*** *** Creating directory "cuda_test.dir\Debug\cuda_test.tlog".
*** *** InitializeBuildStatus:
*** *** Creating "cuda_test.dir\Debug\cuda_test.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
*** *** Touching "cuda_test.dir\Debug\cuda_test.tlog\unsuccessfulbuild".
*** *** ComputeCustomBuildOutput:
*** *** Creating directory "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\CMakeFiles\cuda_test.dir\Debug".
*** *** CustomBuild:
*** *** Building NVCC (Device) object CMakeFiles/cuda_test.dir/Debug/cuda_test_generated_cuda_test.cu.obj
*** *** cuda_test.cu
*** *** cuda_test.cu
*** *** Building Custom Rule C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/dlib/cmake_utils/test_for_cuda/CMakeLists.txt
*** *** CMake is re-running because C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/build/temp.win-amd64-cpython-310/Release/dlib_build/cuda_test_build/CMakeFiles/generate.stamp is out-of-date.
*** *** the file 'C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/build/temp.win-amd64-cpython-310/Release/dlib_build/cuda_test_build/CMakeFiles/cuda_test.dir/cuda_test_generated_cuda_test.cu.obj.depend'
*** *** is newer than 'C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/build/temp.win-amd64-cpython-310/Release/dlib_build/cuda_test_build/CMakeFiles/generate.stamp.depend'
*** *** result='-1'
*** *** -- The C compiler identification is MSVC 19.37.32825.0
*** *** -- The CXX compiler identification is unknown
*** *** -- Detecting C compiler ABI info
*** *** -- Detecting C compiler ABI info - failed
*** *** -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe
*** *** -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe - broken
*** *** CMake Error at C:/Users/Daryl_2/AppData/Local/Temp/pip-build-env-y93u875c/overlay/Lib/site-packages/cmake/data/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake:67 (message):
*** *** The C compiler
*** *** "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe"
*** *** is not able to compile a simple test program.
*** *** It fails with the following output:
*** *** Change Dir: 'C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/build/temp.win-amd64-cpython-310/Release/dlib_build/cuda_test_build/CMakeFiles/CMakeScratch/TryCompile-dzyjnt'
*** *** Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe" cmTC_693a4.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n
*** *** MSBuild version 17.7.2+d6990bcfa for .NET Framework
*** *** Build started 1/27/2024 8:17:00 PM.
*** *** Project "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\CMakeFiles\CMakeScratch\TryCompile-dzyjnt\cmTC_693a4.vcxproj" on node 1 (default targets).
*** *** PrepareForBuild:
*** *** Creating directory "cmTC_693a4.dir\Debug".
*** *** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\CMakeFiles\CMakeScratch\TryCompile-dzyjnt\cmTC_693a4.vcxproj] [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj]
*** *** Creating directory "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\CMakeFiles\CMakeScratch\TryCompile-dzyjnt\Debug".
*** *** Creating directory "cmTC_693a4.dir\Debug\cmTC_693a4.tlog".
*** *** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(382,5): error MSB3491: Could not write lines to file "cmTC_693a4.dir\Debug\cmTC_693a4.tlog\cmTC_693a4.lastbuildstate". Path: cmTC_693a4.dir\Debug\cmTC_693a4.tlog\cmTC_693a4.lastbuildstate exceeds the OS max path limit. The fully qualified file name must be less than 260 characters. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\CMakeFiles\CMakeScratch\TryCompile-dzyjnt\cmTC_693a4.vcxproj] [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj]
*** *** Done Building Project "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\CMakeFiles\CMakeScratch\TryCompile-dzyjnt\cmTC_693a4.vcxproj" (default targets) -- FAILED.
*** *** Build FAILED.
*** *** -- Configuring incomplete, errors occurred!
*** *** "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\CMakeFiles\CMakeScratch\TryCompile-dzyjnt\cmTC_693a4.vcxproj" (default target) (1) ->
*** *** (PrepareForBuild target) ->
*** *** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\CMakeFiles\CMakeScratch\TryCompile-dzyjnt\cmTC_693a4.vcxproj] [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj]
*** *** "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\CMakeFiles\CMakeScratch\TryCompile-dzyjnt\cmTC_693a4.vcxproj" (default target) (1) ->
*** *** (InitializeBuildStatus target) ->
*** *** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(382,5): error MSB3491: Could not write lines to file "cmTC_693a4.dir\Debug\cmTC_693a4.tlog\cmTC_693a4.lastbuildstate". Path: cmTC_693a4.dir\Debug\cmTC_693a4.tlog\cmTC_693a4.lastbuildstate exceeds the OS max path limit. The fully qualified file name must be less than 260 characters. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\CMakeFiles\CMakeScratch\TryCompile-dzyjnt\cmTC_693a4.vcxproj] [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj]
*** *** 1 Warning(s)
*** *** 1 Error(s)
*** *** Time Elapsed 00:00:00.13
*** *** CMake will not be able to correctly generate this project.
*** *** Call Stack (most recent call first):
*** *** CMakeLists.txt:3 (project)
*** *** CMake Error at CMakeLists.txt:3 (project):
*** *** No CMAKE_CXX_COMPILER could be found.
*** *** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(249,5): error MSB8066: Custom build for 'C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib\cmake_utils\test_for_cuda\cuda_test.cu;C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib\cmake_utils\test_for_cuda\CMakeLists.txt' exited with code 1. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj]
*** *** Done Building Project "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj" (default targets) -- FAILED.
*** *** Done Building Project "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\ALL_BUILD.vcxproj" (default targets) -- FAILED.
*** *** Build FAILED.
*** *** "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\ALL_BUILD.vcxproj" (default target) (1) ->
*** *** "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\ZERO_CHECK.vcxproj" (default target) (2) ->
*** *** (PrepareForBuild target) ->
*** *** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\ZERO_CHECK.vcxproj]
*** *** "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\ALL_BUILD.vcxproj" (default target) (1) ->
*** *** "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj" (default target) (3) ->
*** *** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj]
*** *** "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\ALL_BUILD.vcxproj" (default target) (1) ->
*** *** "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj" (default target) (3) ->
*** *** (CustomBuild target) ->
*** *** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\CMakeFiles\CMakeScratch\TryCompile-dzyjnt\cmTC_693a4.vcxproj] [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj]
*** *** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\CMakeFiles\CMakeScratch\TryCompile-dzyjnt\cmTC_693a4.vcxproj] [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj]
*** *** "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\ALL_BUILD.vcxproj" (default target) (1) ->
*** *** "C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj" (default target) (3) ->
*** *** (CustomBuild target) ->
*** *** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(382,5): error MSB3491: Could not write lines to file "cmTC_693a4.dir\Debug\cmTC_693a4.tlog\cmTC_693a4.lastbuildstate". Path: cmTC_693a4.dir\Debug\cmTC_693a4.tlog\cmTC_693a4.lastbuildstate exceeds the OS max path limit. The fully qualified file name must be less than 260 characters. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\CMakeFiles\CMakeScratch\TryCompile-dzyjnt\cmTC_693a4.vcxproj] [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj]
*** *** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(382,5): error MSB3491: Could not write lines to file "cmTC_693a4.dir\Debug\cmTC_693a4.tlog\cmTC_693a4.lastbuildstate". Path: cmTC_693a4.dir\Debug\cmTC_693a4.tlog\cmTC_693a4.lastbuildstate exceeds the OS max path limit. The fully qualified file name must be less than 260 characters. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\CMakeFiles\CMakeScratch\TryCompile-dzyjnt\cmTC_693a4.vcxproj] [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj]
*** *** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(249,5): error MSB8066: Custom build for 'C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib\cmake_utils\test_for_cuda\cuda_test.cu;C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib\cmake_utils\test_for_cuda\CMakeLists.txt' exited with code 1. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\cuda_test_build\cuda_test.vcxproj]
*** *** 4 Warning(s)
*** *** 3 Error(s)
*** *** Time Elapsed 00:00:11.98
*** -- *****************************************************************************************************************
*** -- Disabling CUDA support for dlib. DLIB WILL NOT USE CUDA
*** -- Searching for FFMPEG/LIBAV
*** -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
*** -- PkgConfig could not be found, FFMPEG won't be available
*** -- Configuring done (28.5s)
*** -- Generating done (0.1s)
*** -- Build files have been written to: C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/build/temp.win-amd64-cpython-310/Release
*** Invoking CMake build: 'cmake --build . --config Release -- /m'
*** MSBuild version 17.7.2+d6990bcfa for .NET Framework
*** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\ZERO_CHECK.vcxproj]
*** 1>Checking Build System
*** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
*** Building Custom Rule C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/dlib/CMakeLists.txt
*** base64_kernel_1.cpp
*** bigint_kernel_1.cpp
*** bigint_kernel_2.cpp
*** bit_stream_kernel_1.cpp
*** entropy_decoder_kernel_1.cpp
*** entropy_decoder_kernel_2.cpp
*** entropy_encoder_kernel_1.cpp
*** entropy_encoder_kernel_2.cpp
*** md5_kernel_1.cpp
*** tokenizer_kernel_1.cpp
*** unicode.cpp
*** test_for_odr_violations.cpp
*** fft.cpp
*** sockets_kernel_1.cpp
*** bsp.cpp
*** dir_nav_kernel_1.cpp
*** dir_nav_kernel_2.cpp
*** dir_nav_extensions.cpp
*** fonts.cpp
*** linker_kernel_1.cpp
*** extra_logger_headers.cpp
*** logger_kernel_1.cpp
*** logger_config_file.cpp
*** misc_api_kernel_1.cpp
*** misc_api_kernel_2.cpp
*** sockets_extensions.cpp
*** sockets_kernel_2.cpp
*** sockstreambuf.cpp
*** sockstreambuf_unbuffered.cpp
*** server_kernel.cpp
*** server_iostream.cpp
*** server_http.cpp
*** multithreaded_object_extension.cpp
*** threaded_object_extension.cpp
*** threads_kernel_1.cpp
*** threads_kernel_2.cpp
*** threads_kernel_shared.cpp
*** thread_pool_extension.cpp
*** async.cpp
*** timer.cpp
*** stack_trace.cpp
*** cpu_dlib.cpp
*** tensor_tools.cpp
*** image_dataset_metadata.cpp
*** mnist.cpp
*** cifar.cpp
*** global_function_search.cpp
*** kalman_filter.cpp
*** auto.cpp
*** widgets.cpp
*** drawable.cpp
*** canvas_drawing.cpp
*** style.cpp
*** base_widgets.cpp
*** gui_core_kernel_1.cpp
*** gui_core_kernel_2.cpp
*** png_loader.cpp
*** save_png.cpp
*** jpeg_loader.cpp
*** save_jpeg.cpp
*** arm_init.c
*** filter_neon_intrinsics.c
*** palette_neon_intrinsics.c
*** png.c
*** pngerror.c
*** pngget.c
*** pngmem.c
*** pngpread.c
*** pngread.c
*** pngrio.c
*** pngrtran.c
*** pngrutil.c
*** pngset.c
*** pngtrans.c
*** pngwio.c
*** pngwrite.c
*** pngwtran.c
*** pngwutil.c
*** adler32.c
*** compress.c
*** crc32.c
*** deflate.c
*** gzclose.c
*** gzlib.c
*** gzread.c
*** gzwrite.c
*** infback.c
*** inffast.c
*** inflate.c
*** inftrees.c
*** trees.c
*** uncompr.c
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib\external\zlib\gzwrite.c(212,24): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
*** zutil.c
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib\external\zlib\gzwrite.c(232,21): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib\external\zlib\gzread.c(319,17): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib\external\zlib\gzwrite.c(371,11): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib\external\zlib\gzread.c(400,11): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
*** jaricom.c
*** jcapimin.c
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib\external\zlib\gzread.c(472,11): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
*** jcapistd.c
*** jcarith.c
*** jccoefct.c
*** jccolor.c
*** jcdctmgr.c
*** jchuff.c
*** jcinit.c
*** jcmainct.c
*** jcmarker.c
*** jcmaster.c
*** jcomapi.c
*** jcparam.c
*** jcprepct.c
*** jcsample.c
*** jdapimin.c
*** jdapistd.c
*** jdarith.c
*** jdatadst.c
*** jdatasrc.c
*** jdcoefct.c
*** jdcolor.c
*** jddctmgr.c
*** jdhuff.c
*** jdinput.c
*** jdmainct.c
*** jdmarker.c
*** jdmaster.c
*** jdmerge.c
*** jdpostct.c
*** jdsample.c
*** jerror.c
*** jfdctflt.c
*** jfdctfst.c
*** jfdctint.c
*** jidctflt.c
*** jidctfst.c
*** jidctint.c
*** jmemmgr.c
*** jmemnobs.c
*** jquant1.c
*** jquant2.c
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib\external\libjpeg\jdmarker.c(331,5): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib\external\libjpeg\jdmarker.c(654,5): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib\external\libjpeg\jerror.c(194,5): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib\external\libjpeg\jerror.c(196,5): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
*** jutils.c
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib\external\libjpeg\jmemmgr.c(1103,19): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib\external\libjpeg\jmemmgr.c(1106,11): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
*** dlib.vcxproj -> C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\dlib_build\Release\dlib19.24.2_release_64bit_msvc1937.lib
*** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release_dlib_pybind11.vcxproj]
*** Building Custom Rule C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/tools/python/CMakeLists.txt
*** dlib.cpp
*** matrix.cpp
*** vector.cpp
*** svm_c_trainer.cpp
*** svm_rank_trainer.cpp
*** decision_functions.cpp
*** other.cpp
*** basic.cpp
*** cca.cpp
*** sequence_segmenter.cpp
*** svm_struct.cpp
*** image.cpp
*** image2.cpp
*** image3.cpp
*** image4.cpp
*** rectangles.cpp
*** object_detection.cpp
*** shape_predictor.cpp
*** correlation_tracker.cpp
*** face_recognition.cpp
*** cnn_face_detector.cpp
*** global_optimization.cpp
*** image_dataset_metadata.cpp
*** numpy_returns.cpp
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib..\dlib/image_transforms/assign_image.h(86,45): warning C4018: '>=': signed/unsigned mismatch (compiling source file C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\tools\python\src\image3.cpp) [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release_dlib_pybind11.vcxproj]
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib..\dlib/image_transforms/assign_image.h(160,9): message : see reference to function template instantiation 'void dlib::impl_assign_image_scaled<out_image_type,src_image_type>(dlib::image_view<out_image_type> &,const src_image_type &,const double)' being compiled [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release_dlib_pybind11.vcxproj]
*** with
*** [
*** out_image_type=dlib::numpy_image<int8_t>,
*** src_image_type=dlib::matrix_op<dlib::op_image_to_mat<dlib::numpy_image<uint32_t>,uint32_t>>
*** ] (compiling source file C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\tools\python\src\image3.cpp)
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib..\dlib/image_transforms/assign_image.h(177,9): message : see reference to function template instantiation 'void dlib::impl_assign_image_scaled<dest_image_type,dlib::matrix_op<dlib::op_image_to_mat<src_image_type,T>>>(dest_image_type &,const dlib::matrix_op<dlib::op_image_to_mat<src_image_type,T>> &,const double)' being compiled [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release_dlib_pybind11.vcxproj]
*** with
*** [
*** dest_image_type=dlib::numpy_image<int8_t>,
*** src_image_type=dlib::numpy_image<uint32_t>,
*** T=uint32_t
*** ] (compiling source file C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\tools\python\src\image3.cpp)
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\tools\python\src\image3.cpp(27,59): message : see reference to function template instantiation 'void dlib::assign_image_scaled<dlib::numpy_image<int8_t>,dlib::numpy_image<uint32_t>>(dest_image_type &,const src_image_type &,const double)' being compiled [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release_dlib_pybind11.vcxproj]
*** with
*** [
*** dest_image_type=dlib::numpy_image<int8_t>,
*** src_image_type=dlib::numpy_image<uint32_t>
*** ]
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\tools\python\src\image3.cpp(435,35): message : see reference to function template instantiation 'pybind11::array convert_image_scaled<uint32_t>(const dlib::numpy_image<uint32_t> &,const std::string &,const double)' being compiled [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release_dlib_pybind11.vcxproj]
*** C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\dlib..\dlib/image_transforms/assign_image.h(87,45): warning C4018: '<=': signed/unsigned mismatch (compiling source file C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\tools\python\src\image3.cpp) [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release_dlib_pybind11.vcxproj]
*** line.cpp
*** gui.cpp
*** Creating library C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/build/temp.win-amd64-cpython-310/Release/Release/_dlib_pybind11.lib and object C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/build/temp.win-amd64-cpython-310/Release/Release/_dlib_pybind11.exp
*** Generating code
*** Finished generating code
*** dlib_pybind11.vcxproj -> C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\lib.win-amd64-cpython-310_dlib_pybind11.cp310-win_amd64.pyd
*** C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\Daryl_2\AppData\Local\Temp\pip-install-57znksy6\dlib_d99c039033b14901b962e668f0810463\build\temp.win-amd64-cpython-310\Release\ALL_BUILD.vcxproj]
*** Building Custom Rule C:/Users/Daryl_2/AppData/Local/Temp/pip-install-57znksy6/dlib_d99c039033b14901b962e668f0810463/tools/python/CMakeLists.txt
*** installing to build\bdist.win-amd64\wheel
*** running install
*** running install_lib
*** creating build\bdist.win-amd64
*** creating build\bdist.win-amd64\wheel
*** creating build\bdist.win-amd64\wheel\dlib
*** copying build\lib.win-amd64-cpython-310\dlib_init.py -> build\bdist.win-amd64\wheel.\dlib
*** copying build\lib.win-amd64-cpython-310_dlib_pybind11.cp310-win_amd64.pyd -> build\bdist.win-amd64\wheel.
*** running install_egg_info
*** running egg_info
*** writing tools/python\dlib.egg-info\PKG-INFO
*** writing dependency_links to tools/python\dlib.egg-info\dependency_links.txt
*** writing top-level names to tools/python\dlib.egg-info\top_level.txt
*** reading manifest file 'tools/python\dlib.egg-info\SOURCES.txt'
*** Traceback (most recent call last):
*** File "C:\Stable Diffusion\clean-stable-diffusion-webui\venv\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 363, in
*** main()
*** File "C:\Stable Diffusion\clean-stable-diffusion-webui\venv\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 345, in main
*** json_out['return_val'] = hook(**hook_input['kwargs'])
*** File "C:\Stable Diffusion\clean-stable-diffusion-webui\venv\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 261, in build_wheel
*** return _build_backend().build_wheel(wheel_directory, config_settings,
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools\build_meta.py", line 404, in build_wheel
*** return self._build_with_temp_dir(
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools\build_meta.py", line 389, in build_with_temp_dir
*** self.run_setup()
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
*** exec(code, locals())
*** File "", line 218, in
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools_init.py", line 103, in setup
*** return distutils.core.setup(**attrs)
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools_distutils\core.py", line 185, in setup
*** return run_commands(dist)
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools_distutils\core.py", line 201, in run_commands
*** dist.run_commands()
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 969, in run_commands
*** self.run_command(cmd)
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
*** super().run_command(command)
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
*** cmd_obj.run()
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 403, in run
*** self.run_command("install")
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command
*** self.distribution.run_command(command)
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
*** super().run_command(command)
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
*** cmd_obj.run()
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools\command\install.py", line 78, in run
*** return orig.install.run(self)
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools_distutils\command\install.py", line 708, in run
*** self.run_command(cmd_name)
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command
*** self.distribution.run_command(command)
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
*** super().run_command(command)
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
*** cmd_obj.run()
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools\command\install_egg_info.py", line 31, in run
*** self.run_command('egg_info')
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command
*** self.distribution.run_command(command)
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
*** super().run_command(command)
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
*** cmd_obj.run()
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 321, in run
*** self.find_sources()
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 329, in find_sources
*** mm.run()
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 551, in run
*** self.add_defaults()
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 596, in add_defaults
*** self.read_manifest()
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools\command\sdist.py", line 213, in read_manifest
*** self.filelist.append(line)
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 488, in append
*** path = convert_path(item)
*** File "C:\Users\Daryl_2\AppData\Local\Temp\pip-build-env-y93u875c\overlay\Lib\site-packages\setuptools_distutils\util.py", line 141, in convert_path
*** raise ValueError("path '%s' cannot end with '/'" % pathname)
*** ValueError: path 'dlib/CMakeLists.txt/' cannot end with '/'
*** [end of output]
*** note: This error originates from a subprocess, and is likely not a problem with pip.
*** ERROR: Failed building wheel for dlib
*** ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects
*** [notice] A new release of pip available: 22.2.1 -> 23.3.2
*** [notice] To update, run: C:\Stable Diffusion\clean-stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
Launching Web UI with arguments: --listen --enable-insecure-extension-access --xformers --reinstall-xformers --upcast-sampling --opt-split-attention
Style database not found: C:\Stable Diffusion\clean-stable-diffusion-webui\styles.csv
ControlNet preprocessor location: C:\Stable Diffusion\clean-stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads
2024-01-27 20:18:21,034 - ControlNet - INFO - ControlNet v1.1.438
2024-01-27 20:18:21,188 - ControlNet - INFO - ControlNet v1.1.438
*** Error loading script: bop.py
Traceback (most recent call last):
File "C:\Stable Diffusion\clean-stable-diffusion-webui\modules\scripts.py", line 469, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\Stable Diffusion\clean-stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Stable Diffusion\clean-stable-diffusion-webui\extensions\sd-webui-old-photo-restoration\scripts\bop.py", line 1, in
from scripts.main_function import bop
File "C:\Stable Diffusion\clean-stable-diffusion-webui\extensions\sd-webui-old-photo-restoration\scripts\main_function.py", line 4, in
from Face_Detection.detect_all_dlib import detect
File "C:\Stable Diffusion\clean-stable-diffusion-webui\extensions\sd-webui-old-photo-restoration\Face_Detection\detect_all_dlib.py", line 18, in
import dlib
ModuleNotFoundError: No module named 'dlib'
*** Error loading script: main_function.py
Traceback (most recent call last):
File "C:\Stable Diffusion\clean-stable-diffusion-webui\modules\scripts.py", line 469, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\Stable Diffusion\clean-stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Stable Diffusion\clean-stable-diffusion-webui\extensions\sd-webui-old-photo-restoration\scripts\main_function.py", line 4, in
from Face_Detection.detect_all_dlib import detect
File "C:\Stable Diffusion\clean-stable-diffusion-webui\extensions\sd-webui-old-photo-restoration\Face_Detection\detect_all_dlib.py", line 18, in
import dlib
ModuleNotFoundError: No module named 'dlib'
*********************************************************************
END OF LOG DUMP ON LINE ABOVE - Any help appreciated - thanks!
@Haoming02 commented on GitHub (Jan 28, 2024):
Can you go into the Python virtual environment, and try
and see if it works?
@Haoming02 commented on GitHub (Jan 28, 2024):
Maybe try (re)install
Visual Studiowith C++ component, as well asCMake@Legendaryl123 commented on GitHub (Jan 31, 2024):
IT THINK I MIGHT HAVE FIXED THINGS!
One important thing is that I did not have the C++/CLI support and a few other VS2022 C++ tools. I modified my install and had it download ALL those C++ things and even visual studio 2019 and 2017 - I wanted to cover all the bases!
The Dlib library was not installing even after I installed Cmake. I turns out the command "pip install dlib" was pulling down a version not compatible with Python 3.10. Using the command led me to the same errors I posted above.
NEXT STEPS:
I went on github here and found the dlib library compatible with python v3.10 (https://github.com/z-mahmud22/Dlib_Windows_Python3.x/raw/main/dlib-19.22.99-cp310-cp310-win_amd64.whl)
I launced a venv and then executed the following commands from the stable diffusion directory where I wanted to install your extension to restore old photos
commands were:
"venv\Scripts\activate" setup virtual environment
py -m pip install cmake "to install cmake"
py -m pip install https://github.com/z-mahmud22/Dlib_Windows_Python3.x/raw/main/dlib-19.22.99-cp310-cp310-win_amd64.whl "to install the correct dlib"
py -m pip list "I used this command to list all the installs to verify cmake and dlib were detected"
webui-user.bat "to launch into stable diffusion"
NOW WHEN I LAUNCH STABLE DIFFUSION THIS IS MY OUTPUT:
(venv) C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui>webui-user.bat
venv "C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.7.0
Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e
Installing Requirements for Bringing-Old-Photos-Back-to-Life...
Installing Old-Photo-Restoration Requirement: easydict
Installing Old-Photo-Restoration Requirement: dominate
Installing Old-Photo-Restoration Requirement: dill
Installing Old-Photo-Restoration Requirement: tensorboardX
Installing Old-Photo-Restoration Requirement: PySimpleGUI
Launching Web UI with arguments:
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Style database not found: C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui\styles.csv
Loading weights [15012c538f] from C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui\models\Stable-diffusion\realisticVisionV51_v51VAE.safetensors
Running on local URL: http://127.0.0.1:7860
Creating model from config: C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui\configs\v1-inference.yaml
To create a public link, set
share=Trueinlaunch().Startup time: 28.0s (prepare environment: 13.4s, import torch: 4.4s, import gradio: 1.5s, setup paths: 2.9s, initialize shared: 0.7s, other imports: 0.7s, setup codeformer: 0.3s, load scripts: 2.6s, create ui: 0.5s, gradio launch: 0.8s).
Applying attention optimization: Doggettx... done.
Model loaded in 3.6s (load weights from disk: 0.7s, create model: 0.7s, apply weights to model: 1.8s, calculate empty prompt: 0.2s).
THIS APPEARS TO BE WORKING, I KNOW HAVE A "BOP" TAB ALSO! SO THANKS!
BELOW THIS LINE I AM GOING TO DUMP MY COMMAND SCREEN LOG - IN CASE ANYONE WANTS TO LOOK CLOSER AT WHAT I DID TOO "SOLVE" THE ISSUE
COMMAND LOG DUMP TO FOLLOW:
Microsoft Windows [Version 10.0.22621.3007]
(c) Microsoft Corporation. All rights reserved.
C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui>venv\Scripts\activate
(venv) C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui>py -m pip install dlib
Collecting dlib
Using cached dlib-19.24.2.tar.gz (11.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: dlib
Building wheel for dlib (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for dlib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [563 lines of output]
running bdist_wheel
running build
running build_ext
:125: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
Building extension for Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Invoking CMake setup: 'cmake C:\Users\Daryl_2\AppData\Local\Temp\pip-install-8_2ionaq\dlib_71220b1fbe4941488e7847ce5600ebde\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Daryl_2\AppData\Local\Temp\pip-install-8_2ionaq\dlib_71220b1fbe4941488e7847ce5600ebde\build\lib.win-amd64-cpython-310 -DPYTHON_EXECUTABLE=C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui\venv\Scripts\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\Daryl_2\AppData\Local\Temp\pip-install-8_2ionaq\dlib_71220b1fbe4941488e7847ce5600ebde\build\lib.win-amd64-cpython-310 -A x64'
-- Building for: Visual Studio 17 2022
-- The C compiler identification is MSVC 19.38.33135.0
-- The CXX compiler identification is MSVC 19.38.33135.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at C:/Users/Daryl_2/AppData/Local/Temp/pip-install-8_2ionaq/dlib_71220b1fbe4941488e7847ce5600ebde/dlib/external/pybind11/CMakeLists.txt:8 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for dlib
Failed to build dlib
ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects
[notice] A new release of pip available: 22.2.1 -> 23.3.2
[notice] To update, run: python.exe -m pip install --upgrade pip
(venv) C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui>py -m install cmake
C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui\venv\Scripts\python.exe: No module named install
(venv) C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui>py -m pip cmake
ERROR: unknown command "cmake" - maybe you meant "cache"
(venv) C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui>py -m pip install cmake
Collecting cmake
Using cached cmake-3.28.1-py2.py3-none-win_amd64.whl (35.8 MB)
Installing collected packages: cmake
Successfully installed cmake-3.28.1
[notice] A new release of pip available: 22.2.1 -> 23.3.2
[notice] To update, run: python.exe -m pip install --upgrade pip
(venv) C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui>py -m pip list
Package Version
absl-py 2.1.0
accelerate 0.21.0
addict 2.4.0
aenum 3.1.15
aiofiles 23.2.1
aiohttp 3.9.3
aiosignal 1.3.1
altair 5.2.0
antlr4-python3-runtime 4.9.3
anyio 3.7.1
async-timeout 4.0.3
attrs 23.2.0
basicsr 1.4.2
beautifulsoup4 4.12.3
blendmodes 2022
certifi 2023.11.17
charset-normalizer 3.3.2
clean-fid 0.1.35
click 8.1.7
clip 1.0
cmake 3.28.1
colorama 0.4.6
contourpy 1.2.0
cycler 0.12.1
deprecation 2.1.0
einops 0.4.1
exceptiongroup 1.2.0
facexlib 0.3.0
fastapi 0.94.0
ffmpy 0.3.1
filelock 3.13.1
filterpy 1.4.5
fonttools 4.47.2
frozenlist 1.4.1
fsspec 2023.12.2
ftfy 6.1.3
future 0.18.3
gdown 5.0.1
gfpgan 1.3.8
gitdb 4.0.11
GitPython 3.1.32
gradio 3.41.2
gradio_client 0.5.0
grpcio 1.60.0
h11 0.12.0
httpcore 0.15.0
httpx 0.24.1
huggingface-hub 0.20.3
idna 3.6
imageio 2.33.1
importlib-metadata 7.0.1
importlib-resources 6.1.1
inflection 0.5.1
Jinja2 3.1.3
jsonmerge 1.8.0
jsonschema 4.21.1
jsonschema-specifications 2023.12.1
kiwisolver 1.4.5
kornia 0.6.7
lark 1.1.2
lazy_loader 0.3
lightning-utilities 0.10.1
llvmlite 0.41.1
lmdb 1.4.1
lpips 0.1.4
Markdown 3.5.2
MarkupSafe 2.1.4
matplotlib 3.8.2
mpmath 1.3.0
multidict 6.0.4
networkx 3.2.1
numba 0.58.1
numpy 1.23.5
omegaconf 2.2.3
open-clip-torch 2.20.0
opencv-python 4.9.0.80
orjson 3.9.12
packaging 23.2
pandas 2.2.0
piexif 1.1.3
Pillow 9.5.0
pip 22.2.1
platformdirs 4.2.0
protobuf 3.20.0
psutil 5.9.5
pydantic 1.10.14
pydub 0.25.1
pyparsing 3.1.1
PySocks 1.7.1
python-dateutil 2.8.2
python-multipart 0.0.6
pytorch-lightning 1.9.4
pytz 2023.4
PyWavelets 1.5.0
PyYAML 6.0.1
realesrgan 0.3.0
referencing 0.33.0
regex 2023.12.25
requests 2.31.0
resize-right 0.0.2
rpds-py 0.17.1
safetensors 0.3.1
scikit-image 0.21.0
scipy 1.12.0
semantic-version 2.10.0
sentencepiece 0.1.99
setuptools 63.2.0
six 1.16.0
smmap 5.0.1
sniffio 1.3.0
soupsieve 2.5
starlette 0.26.1
sympy 1.12
tb-nightly 2.16.0a20240131
tensorboard-data-server 0.7.2
tf_keras-nightly 2.16.0.dev2024013110
tifffile 2024.1.30
timm 0.9.2
tokenizers 0.13.3
tomesd 0.1.3
tomli 2.0.1
toolz 0.12.1
torch 2.0.1+cu118
torchdiffeq 0.2.3
torchmetrics 1.3.0.post0
torchsde 0.2.6
torchvision 0.15.2+cu118
tqdm 4.66.1
trampoline 0.1.2
transformers 4.30.2
typing_extensions 4.9.0
tzdata 2023.4
urllib3 2.2.0
uvicorn 0.27.0.post1
wcwidth 0.2.13
websockets 11.0.3
Werkzeug 3.0.1
yapf 0.40.2
yarl 1.9.4
zipp 3.17.0
[notice] A new release of pip available: 22.2.1 -> 23.3.2
[notice] To update, run: python.exe -m pip install --upgrade pip
(venv) C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui>py -m pip install dlib
Collecting dlib
Using cached dlib-19.24.2.tar.gz (11.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: dlib
Building wheel for dlib (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for dlib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [563 lines of output]
running bdist_wheel
running build
running build_ext
:125: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
Building extension for Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Invoking CMake setup: 'cmake C:\Users\Daryl_2\AppData\Local\Temp\pip-install-sr5estif\dlib_6eca81a9d3de46c5be7a6abc962ca4f3\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Daryl_2\AppData\Local\Temp\pip-install-sr5estif\dlib_6eca81a9d3de46c5be7a6abc962ca4f3\build\lib.win-amd64-cpython-310 -DPYTHON_EXECUTABLE=C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui\venv\Scripts\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\Daryl_2\AppData\Local\Temp\pip-install-sr5estif\dlib_6eca81a9d3de46c5be7a6abc962ca4f3\build\lib.win-amd64-cpython-310 -A x64'
-- Building for: Visual Studio 17 2022
-- The C compiler identification is MSVC 19.38.33135.0
-- The CXX compiler identification is MSVC 19.38.33135.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at C:/Users/Daryl_2/AppData/Local/Temp/pip-install-sr5estif/dlib_6eca81a9d3de46c5be7a6abc962ca4f3/dlib/external/pybind11/CMakeLists.txt:8 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for dlib
Failed to build dlib
ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects
[notice] A new release of pip available: 22.2.1 -> 23.3.2
[notice] To update, run: python.exe -m pip install --upgrade pip
(venv) C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui>py -m pip list
Package Version
absl-py 2.1.0
accelerate 0.21.0
addict 2.4.0
aenum 3.1.15
aiofiles 23.2.1
aiohttp 3.9.3
aiosignal 1.3.1
altair 5.2.0
antlr4-python3-runtime 4.9.3
anyio 3.7.1
async-timeout 4.0.3
attrs 23.2.0
basicsr 1.4.2
beautifulsoup4 4.12.3
blendmodes 2022
certifi 2023.11.17
charset-normalizer 3.3.2
clean-fid 0.1.35
click 8.1.7
clip 1.0
cmake 3.28.1
colorama 0.4.6
contourpy 1.2.0
cycler 0.12.1
deprecation 2.1.0
einops 0.4.1
exceptiongroup 1.2.0
facexlib 0.3.0
fastapi 0.94.0
ffmpy 0.3.1
filelock 3.13.1
filterpy 1.4.5
fonttools 4.47.2
frozenlist 1.4.1
fsspec 2023.12.2
ftfy 6.1.3
future 0.18.3
gdown 5.0.1
gfpgan 1.3.8
gitdb 4.0.11
GitPython 3.1.32
gradio 3.41.2
gradio_client 0.5.0
grpcio 1.60.0
h11 0.12.0
httpcore 0.15.0
httpx 0.24.1
huggingface-hub 0.20.3
idna 3.6
imageio 2.33.1
importlib-metadata 7.0.1
importlib-resources 6.1.1
inflection 0.5.1
Jinja2 3.1.3
jsonmerge 1.8.0
jsonschema 4.21.1
jsonschema-specifications 2023.12.1
kiwisolver 1.4.5
kornia 0.6.7
lark 1.1.2
lazy_loader 0.3
lightning-utilities 0.10.1
llvmlite 0.41.1
lmdb 1.4.1
lpips 0.1.4
Markdown 3.5.2
MarkupSafe 2.1.4
matplotlib 3.8.2
mpmath 1.3.0
multidict 6.0.4
networkx 3.2.1
numba 0.58.1
numpy 1.23.5
omegaconf 2.2.3
open-clip-torch 2.20.0
opencv-python 4.9.0.80
orjson 3.9.12
packaging 23.2
pandas 2.2.0
piexif 1.1.3
Pillow 9.5.0
pip 22.2.1
platformdirs 4.2.0
protobuf 3.20.0
psutil 5.9.5
pydantic 1.10.14
pydub 0.25.1
pyparsing 3.1.1
PySocks 1.7.1
python-dateutil 2.8.2
python-multipart 0.0.6
pytorch-lightning 1.9.4
pytz 2023.4
PyWavelets 1.5.0
PyYAML 6.0.1
realesrgan 0.3.0
referencing 0.33.0
regex 2023.12.25
requests 2.31.0
resize-right 0.0.2
rpds-py 0.17.1
safetensors 0.3.1
scikit-image 0.21.0
scipy 1.12.0
semantic-version 2.10.0
sentencepiece 0.1.99
setuptools 63.2.0
six 1.16.0
smmap 5.0.1
sniffio 1.3.0
soupsieve 2.5
starlette 0.26.1
sympy 1.12
tb-nightly 2.16.0a20240131
tensorboard-data-server 0.7.2
tf_keras-nightly 2.16.0.dev2024013110
tifffile 2024.1.30
timm 0.9.2
tokenizers 0.13.3
tomesd 0.1.3
tomli 2.0.1
toolz 0.12.1
torch 2.0.1+cu118
torchdiffeq 0.2.3
torchmetrics 1.3.0.post0
torchsde 0.2.6
torchvision 0.15.2+cu118
tqdm 4.66.1
trampoline 0.1.2
transformers 4.30.2
typing_extensions 4.9.0
tzdata 2023.4
urllib3 2.2.0
uvicorn 0.27.0.post1
wcwidth 0.2.13
websockets 11.0.3
Werkzeug 3.0.1
yapf 0.40.2
yarl 1.9.4
zipp 3.17.0
[notice] A new release of pip available: 22.2.1 -> 23.3.2
[notice] To update, run: python.exe -m pip install --upgrade pip
(venv) C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui>py -m pip install https://github.com/z-mahmud22/Dlib_Windows_Python3.x/raw/main/dlib-19.22.99-cp310-cp310-win_amd64.whl
Collecting dlib==19.22.99
Using cached https://github.com/z-mahmud22/Dlib_Windows_Python3.x/raw/main/dlib-19.22.99-cp310-cp310-win_amd64.whl (3.0 MB)
Installing collected packages: dlib
Successfully installed dlib-19.22.99
[notice] A new release of pip available: 22.2.1 -> 23.3.2
[notice] To update, run: python.exe -m pip install --upgrade pip
(venv) C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui>py -m pip list
Package Version
absl-py 2.1.0
accelerate 0.21.0
addict 2.4.0
aenum 3.1.15
aiofiles 23.2.1
aiohttp 3.9.3
aiosignal 1.3.1
altair 5.2.0
antlr4-python3-runtime 4.9.3
anyio 3.7.1
async-timeout 4.0.3
attrs 23.2.0
basicsr 1.4.2
beautifulsoup4 4.12.3
blendmodes 2022
certifi 2023.11.17
charset-normalizer 3.3.2
clean-fid 0.1.35
click 8.1.7
clip 1.0
cmake 3.28.1
colorama 0.4.6
contourpy 1.2.0
cycler 0.12.1
deprecation 2.1.0
dlib 19.22.99
einops 0.4.1
exceptiongroup 1.2.0
facexlib 0.3.0
fastapi 0.94.0
ffmpy 0.3.1
filelock 3.13.1
filterpy 1.4.5
fonttools 4.47.2
frozenlist 1.4.1
fsspec 2023.12.2
ftfy 6.1.3
future 0.18.3
gdown 5.0.1
gfpgan 1.3.8
gitdb 4.0.11
GitPython 3.1.32
gradio 3.41.2
gradio_client 0.5.0
grpcio 1.60.0
h11 0.12.0
httpcore 0.15.0
httpx 0.24.1
huggingface-hub 0.20.3
idna 3.6
imageio 2.33.1
importlib-metadata 7.0.1
importlib-resources 6.1.1
inflection 0.5.1
Jinja2 3.1.3
jsonmerge 1.8.0
jsonschema 4.21.1
jsonschema-specifications 2023.12.1
kiwisolver 1.4.5
kornia 0.6.7
lark 1.1.2
lazy_loader 0.3
lightning-utilities 0.10.1
llvmlite 0.41.1
lmdb 1.4.1
lpips 0.1.4
Markdown 3.5.2
MarkupSafe 2.1.4
matplotlib 3.8.2
mpmath 1.3.0
multidict 6.0.4
networkx 3.2.1
numba 0.58.1
numpy 1.23.5
omegaconf 2.2.3
open-clip-torch 2.20.0
opencv-python 4.9.0.80
orjson 3.9.12
packaging 23.2
pandas 2.2.0
piexif 1.1.3
Pillow 9.5.0
pip 22.2.1
platformdirs 4.2.0
protobuf 3.20.0
psutil 5.9.5
pydantic 1.10.14
pydub 0.25.1
pyparsing 3.1.1
PySocks 1.7.1
python-dateutil 2.8.2
python-multipart 0.0.6
pytorch-lightning 1.9.4
pytz 2023.4
PyWavelets 1.5.0
PyYAML 6.0.1
realesrgan 0.3.0
referencing 0.33.0
regex 2023.12.25
requests 2.31.0
resize-right 0.0.2
rpds-py 0.17.1
safetensors 0.3.1
scikit-image 0.21.0
scipy 1.12.0
semantic-version 2.10.0
sentencepiece 0.1.99
setuptools 63.2.0
six 1.16.0
smmap 5.0.1
sniffio 1.3.0
soupsieve 2.5
starlette 0.26.1
sympy 1.12
tb-nightly 2.16.0a20240131
tensorboard-data-server 0.7.2
tf_keras-nightly 2.16.0.dev2024013110
tifffile 2024.1.30
timm 0.9.2
tokenizers 0.13.3
tomesd 0.1.3
tomli 2.0.1
toolz 0.12.1
torch 2.0.1+cu118
torchdiffeq 0.2.3
torchmetrics 1.3.0.post0
torchsde 0.2.6
torchvision 0.15.2+cu118
tqdm 4.66.1
trampoline 0.1.2
transformers 4.30.2
typing_extensions 4.9.0
tzdata 2023.4
urllib3 2.2.0
uvicorn 0.27.0.post1
wcwidth 0.2.13
websockets 11.0.3
Werkzeug 3.0.1
yapf 0.40.2
yarl 1.9.4
zipp 3.17.0
[notice] A new release of pip available: 22.2.1 -> 23.3.2
[notice] To update, run: python.exe -m pip install --upgrade pip
(venv) C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui>py -m pip install dlib
Requirement already satisfied: dlib in c:\stable diffusion\photo restoration mode\stable-diffusion-webui\venv\lib\site-packages (19.22.99)
[notice] A new release of pip available: 22.2.1 -> 23.3.2
[notice] To update, run: python.exe -m pip install --upgrade pip
(venv) C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui>webui-user.bat
venv "C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.7.0
Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e
Installing Requirements for Bringing-Old-Photos-Back-to-Life...
Installing Old-Photo-Restoration Requirement: easydict
Installing Old-Photo-Restoration Requirement: dominate
Installing Old-Photo-Restoration Requirement: dill
Installing Old-Photo-Restoration Requirement: tensorboardX
Installing Old-Photo-Restoration Requirement: PySimpleGUI
Launching Web UI with arguments:
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Style database not found: C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui\styles.csv
Loading weights [15012c538f] from C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui\models\Stable-diffusion\realisticVisionV51_v51VAE.safetensors
Running on local URL: http://127.0.0.1:7860
Creating model from config: C:\Stable Diffusion\Photo Restoration Mode\stable-diffusion-webui\configs\v1-inference.yaml
To create a public link, set
share=Trueinlaunch().Startup time: 28.0s (prepare environment: 13.4s, import torch: 4.4s, import gradio: 1.5s, setup paths: 2.9s, initialize shared: 0.7s, other imports: 0.7s, setup codeformer: 0.3s, load scripts: 2.6s, create ui: 0.5s, gradio launch: 0.8s).
Applying attention optimization: Doggettx... done.
Model loaded in 3.6s (load weights from disk: 0.7s, create model: 0.7s, apply weights to model: 1.8s, calculate empty prompt: 0.2s).
END OF COMMAND LOG DUMP