Closed TAMILVIP007 closed 1 year ago
anyone?
do you have cmake
installed and available on %PATH%
?
yes
Which version of cmake
and C++ compiler are available on your PC?
Collecting dlib Using cached dlib-19.24.0.tar.gz (3.2 MB) Preparing metadata (setup.py) ... done Building wheels for collected packages: dlib Building wheel for dlib (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [307 lines of output] running bdist_wheel running build running build_py running build_ext C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\setup.py:129: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cmake_version) < '3.1.0': Building extension for Python 3.9.13 (main, Aug 25 2022, 23:51:50) [MSC v.1916 64 bit (AMD64)] Invoking CMake setup: 'cmake C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\lib.win32-cpython-39 -DPYTHON_EXECUTABLE=C:\Users\Rifat Rabbi\anaconda3\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\lib.win32-cpython-39 -A x64' -- Building for: Visual Studio 16 2019 -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045. -- The C compiler identification is MSVC 19.29.30148.0 -- The CXX compiler identification is MSVC 19.29.30148.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/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/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: C:/Users/Rifat Rabbi/anaconda3/python.exe (found version "3.9.13") -- Found PythonLibs: C:/Users/Rifat Rabbi/anaconda3/libs/Python39.lib -- pybind11 v2.2.4 -- Using CMake version: 3.25.2 -- Compiling dlib version: 19.24.0 -- 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 -- Could NOT find WebP (missing: WEBP_LIBRARY) -- 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 CUDA_TOOLKIT_ROOT_DIR not found or specified -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "7.5") -- Found CUDA, but CMake was unable to find the cuBLAS libraries that should be part of every basic CUDA install. Your CUDA install is somehow broken or incomplete. Since cuBLAS is required for dlib to use CUDA we won't use CUDA. -- DID NOT FIND CUDA -- Disabling CUDA support for dlib. DLIB WILL NOT USE CUDA -- C++11 activated. -- Configuring done -- Generating done -- Build files have been written to: C:/Users/Rifat Rabbi/AppData/Local/Temp/pip-install-_eq3ep_2/dlib_06df5928b2974a98b8a32cc01f2650b5/build/temp.win32-cpython-39/Release Invoking CMake build: 'cmake --build . --config Release -- /m' Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System
Building Custom Rule C:/Users/Rifat Rabbi/AppData/Local/Temp/pip-install-_eq3ep_2/dlib_06df5928b2974a98b8a32cc01f2650b5/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
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
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
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\zlib\gzread.c(319,20): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\zlib\gzread.c(400,35): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\zlib\gzread.c(472,33): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\zlib\gzwrite.c(212,27): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\zlib\gzwrite.c(232,24): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\zlib\gzwrite.c(371,36): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
infback.c
inffast.c
inflate.c
inftrees.c
trees.c
uncompr.c
zutil.c
jaricom.c
jcapimin.c
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
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jdatadst.c(185,60): warning C4267: '=': conversion from 'size_t' to 'unsigned long', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
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
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jerror.c(193,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\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jerror.c(195,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\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
jfdctint.c
jidctflt.c
jidctfst.c
jidctint.c
jmemmgr.c
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jmemmgr.c(307,53): warning C4267: '+=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jmemmgr.c(367,70): warning C4267: '+=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jmemmgr.c(977,46): warning C4267: '-=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
jmemnobs.c
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jmemmgr.c(991,46): warning C4267: '-=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jmemmgr.c(1107,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\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jmemmgr.c(1110,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\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
jquant1.c
jquant2.c
jutils.c
dlib.vcxproj -> C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\Release\dlib19.24.0_release_64bit_msvc1929.lib
Building Custom Rule C:/Users/Rifat Rabbi/AppData/Local/Temp/pip-install-_eq3ep_2/dlib_06df5928b2974a98b8a32cc01f2650b5/tools/python/CMakeLists.txt
dlib.cpp
matrix.cpp
vector.cpp
svm_c_trainer.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\matrix.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\vector.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\dlib.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\svm_c_trainer.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
svm_rank_trainer.cpp
decision_functions.cpp
other.cpp
basic.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\svm_rank_trainer.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\decision_functions.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\other.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
cca.cpp
sequence_segmenter.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\basic.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
svm_struct.cpp
image.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\cca.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\sequence_segmenter.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
image2.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\svm_struct.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\image.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
image3.cpp
image4.cpp
rectangles.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\image2.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\image3.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\image4.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
object_detection.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\rectangles.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
shape_predictor.cpp
correlation_tracker.cpp
face_recognition.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\object_detection.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\shape_predictor.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\correlation_tracker.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\face_recognition.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
cnn_face_detector.cpp
global_optimization.cpp
image_dataset_metadata.cpp
numpy_returns.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\cnn_face_detector.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\global_optimization.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\image_dataset_metadata.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
line.cpp
gui.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\numpy_returns.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\line.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\gui.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\setup.py", line 222, in <module>
setup(
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
return run_commands(dist)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\dist.py", line 973, in run_commands
self.run_command(cmd)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
cmd_obj.run()
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
self.run_command('build')
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
cmd_obj.run()
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\command\build.py", line 24, in run
super().run()
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run
self.run_command(cmd_name)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
cmd_obj.run()
File "C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\setup.py", line 134, in run
self.build_extension(ext)
File "C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\setup.py", line 174, in build_extension
subprocess.check_call(cmake_build, cwd=build_folder)
File "C:\Users\Rifat Rabbi\anaconda3\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
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. 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: subprocess-exited-with-error
× Running setup.py install for dlib did not run successfully. │ exit code: 1 ╰─> [311 lines of output] running install C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py running build_ext C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\setup.py:129: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cmake_version) < '3.1.0': Building extension for Python 3.9.13 (main, Aug 25 2022, 23:51:50) [MSC v.1916 64 bit (AMD64)] Invoking CMake setup: 'cmake C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\lib.win32-cpython-39 -DPYTHON_EXECUTABLE=C:\Users\Rifat Rabbi\anaconda3\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\lib.win32-cpython-39 -A x64' -- Building for: Visual Studio 16 2019 -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045. -- The C compiler identification is MSVC 19.29.30148.0 -- The CXX compiler identification is MSVC 19.29.30148.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/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/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: C:/Users/Rifat Rabbi/anaconda3/python.exe (found version "3.9.13") -- Found PythonLibs: C:/Users/Rifat Rabbi/anaconda3/libs/Python39.lib -- pybind11 v2.2.4 -- Using CMake version: 3.25.2 -- Compiling dlib version: 19.24.0 -- 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 -- Could NOT find WebP (missing: WEBP_LIBRARY) -- 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 CUDA_TOOLKIT_ROOT_DIR not found or specified -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "7.5") -- Found CUDA, but CMake was unable to find the cuBLAS libraries that should be part of every basic CUDA install. Your CUDA install is somehow broken or incomplete. Since cuBLAS is required for dlib to use CUDA we won't use CUDA. -- DID NOT FIND CUDA -- Disabling CUDA support for dlib. DLIB WILL NOT USE CUDA -- C++11 activated. -- Configuring done -- Generating done -- Build files have been written to: C:/Users/Rifat Rabbi/AppData/Local/Temp/pip-install-_eq3ep_2/dlib_06df5928b2974a98b8a32cc01f2650b5/build/temp.win32-cpython-39/Release Invoking CMake build: 'cmake --build . --config Release -- /m' Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System
Building Custom Rule C:/Users/Rifat Rabbi/AppData/Local/Temp/pip-install-_eq3ep_2/dlib_06df5928b2974a98b8a32cc01f2650b5/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
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
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
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\zlib\gzread.c(319,20): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\zlib\gzread.c(400,35): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\zlib\gzread.c(472,33): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\zlib\gzwrite.c(212,27): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
infback.c
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\zlib\gzwrite.c(232,24): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\zlib\gzwrite.c(371,36): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
inffast.c
inflate.c
inftrees.c
trees.c
uncompr.c
zutil.c
jaricom.c
jcapimin.c
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
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jdatadst.c(185,60): warning C4267: '=': conversion from 'size_t' to 'unsigned long', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
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
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jerror.c(193,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\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jerror.c(195,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\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
jfdctint.c
jidctflt.c
jidctfst.c
jidctint.c
jmemmgr.c
jmemnobs.c
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jmemmgr.c(307,53): warning C4267: '+=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jmemmgr.c(367,70): warning C4267: '+=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jmemmgr.c(977,46): warning C4267: '-=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
jquant1.c
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jmemmgr.c(991,46): warning C4267: '-=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jmemmgr.c(1107,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\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\dlib\external\libjpeg\jmemmgr.c(1110,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\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\dlib.vcxproj]
jquant2.c
jutils.c
dlib.vcxproj -> C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\dlib_build\Release\dlib19.24.0_release_64bit_msvc1929.lib
Building Custom Rule C:/Users/Rifat Rabbi/AppData/Local/Temp/pip-install-_eq3ep_2/dlib_06df5928b2974a98b8a32cc01f2650b5/tools/python/CMakeLists.txt
dlib.cpp
matrix.cpp
vector.cpp
svm_c_trainer.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\matrix.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\dlib.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\vector.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\svm_c_trainer.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
svm_rank_trainer.cpp
decision_functions.cpp
other.cpp
basic.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\svm_rank_trainer.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\decision_functions.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\other.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
cca.cpp
sequence_segmenter.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\basic.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
svm_struct.cpp
image.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\cca.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\sequence_segmenter.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
image2.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\svm_struct.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\image.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
image3.cpp
image4.cpp
rectangles.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\image2.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\image3.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\image4.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
object_detection.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\rectangles.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
shape_predictor.cpp
correlation_tracker.cpp
face_recognition.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\object_detection.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\shape_predictor.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\correlation_tracker.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\face_recognition.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
cnn_face_detector.cpp
global_optimization.cpp
image_dataset_metadata.cpp
numpy_returns.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\global_optimization.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\cnn_face_detector.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\image_dataset_metadata.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
line.cpp
gui.cpp
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\numpy_returns.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\line.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\tools\python\src\gui.cpp) [C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\build\temp.win32-cpython-39\Release\_dlib_pybind11.vcxproj]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\setup.py", line 222, in <module>
setup(
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
return run_commands(dist)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\dist.py", line 973, in run_commands
self.run_command(cmd)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
cmd_obj.run()
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\command\install.py", line 68, in run
return orig.install.run(self)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\command\install.py", line 692, in run
self.run_command('build')
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
cmd_obj.run()
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\command\build.py", line 24, in run
super().run()
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run
self.run_command(cmd_name)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\Users\Rifat Rabbi\anaconda3\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
cmd_obj.run()
File "C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\setup.py", line 134, in run
self.build_extension(ext)
File "C:\Users\Rifat Rabbi\AppData\Local\Temp\pip-install-_eq3ep_2\dlib_06df5928b2974a98b8a32cc01f2650b5\setup.py", line 174, in build_extension
subprocess.check_call(cmake_build, cwd=build_folder)
File "C:\Users\Rifat Rabbi\anaconda3\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
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. error: legacy-install-failure
× Encountered error while trying to install package. ╰─> dlib
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.
@Ripat123 , your issue seems to be related to gif_lib
in C:\Users\Rifat Rabbi\anaconda3\Library\include\gif_lib.h
, which is incompatible with dlib
. Most likely this lib jumps into the build process because of global INCLUDE
environment variable.
Also having the same legacy-install-error while trying to install dlib with Python 3.11
It's worked on dlib 19.19 with python 3.8. But it does not work on dlib 19.24 with python 3.11.
Could you try dlib from master? See https://github.com/davisking/dlib/issues/2659 for more details.
If you are getting gif_lib.h errors, you can do the following:
In adittion, You can do the following:
The solution does not belong to me. Source: https://www.youtube.com/watch?v=BUu6hrcYI_c
I hope that solves your problem!
Warning: this issue has been inactive for 35 days and will be automatically closed on 2023-05-21 if there is no further activity.
If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.
Warning: this issue has been inactive for 43 days and will be automatically closed on 2023-05-21 if there is no further activity.
If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.
Notice: this issue has been closed because it has been inactive for 45 days. You may reopen this issue if it has been closed in error.
l-packages\Python311\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "C:\Users\INDRAJEETH\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "C:\Users\INDRAJEETH\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "C:\Users\INDRAJEETH\AppData\Local\Temp\pip-install-o_74_pml\dlib_ff89b3f7ef144acfb076d00d5bad3298\setup.py", line 134, in run self.build_extension(ext) File "C:\Users\INDRAJEETH\AppData\Local\Temp\pip-install-o_74_pml\dlib_ff89b3f7ef144acfb076d00d5bad3298\setup.py", line 171, in build_extension subprocess.check_call(cmake_setup, cwd=build_folder) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.752.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', 'C:\Users\INDRAJEETH\AppData\Local\Temp\pip-install-o_74_pml\dlib_ff89b3f7ef144acfb076d00d5bad3298\tools\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\INDRAJEETH\AppData\Local\Temp\pip-install-o_74_pml\dlib_ff89b3f7ef144acfb076d00d5bad3298\build\lib.win-amd64-cpython-311', '-DPYTHON_EXECUTABLE=C:\Users\INDRAJEETH\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\INDRAJEETH\AppData\Local\Temp\pip-install-o_74_pml\dlib_ff89b3f7ef144acfb076d00d5bad3298\build\lib.win-amd64-cpython-311', '-A', 'x64']' returned non-zero exit status 1. [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure
× Encountered error while trying to install package. ╰─> dlib
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.