You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While install dlib (pip install dlib), I am getting below error message in Windows 10 OS. Please have a look and help me .
Thanks in advance
Collecting dlib
Using cached dlib-19.21.1.tar.gz (3.6 MB)
Building wheels for collected packages: dlib
Building wheel for dlib (setup.py): started
Building wheel for dlib (setup.py): still running...
Building wheel for dlib (setup.py): still running...
Building wheel for dlib (setup.py): still running...
Building wheel for dlib (setup.py): finished with status 'error'
Running setup.py clean for dlib
Failed to build dlib
Installing collected packages: dlib
Running setup.py install for dlib: started
Running setup.py install for dlib: still running...
Running setup.py install for dlib: still running...
Running setup.py install for dlib: still running...
Running setup.py install for dlib: finished with status 'error'
DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated and has no effect anymore. pip 21.1 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at pypa/pip#8333.
ERROR: Command errored out with exit status 1:
command: 'C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py'"'"'; file='"'"'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-wheel-wfdlv7a3'
cwd: C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3
Complete output (290 lines):
running bdist_wheel
running build
running build_py
package init file 'tools\python\dlib_init_.py' not found (or not a regular file)
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
Building extension for Python 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit (AMD64)]
Invoking CMake setup: 'cmake C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\lib.win-amd64-3.8 -DPYTHON_EXECUTABLE=C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\lib.win-amd64-3.8 -A x64'
-- Building for: Visual Studio 16 2019
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.28.29335.0
-- The CXX compiler identification is MSVC 19.28.29335.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/BuildTools/VC/Tools/MSVC/14.28.29333/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/BuildTools/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/Users/ramachandra.govindav/AppData/Local/Programs/Python/Python38/python.exe (found version "3.8.6")
-- Found PythonLibs: C:/Users/ramachandra.govindav/AppData/Local/Programs/Python/Python38/libs/Python38.lib
-- pybind11 v2.2.4
-- Using CMake version: 3.18.2
-- Compiling dlib version: 19.21.1
-- 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
-- Looking for pthread.h
-- Looking for pthread.h - 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/ramachandra.govindav/AppData/Local/Temp/pip-install-kj9dkvek/dlib_75d9e1d1c8ec4781b4488cc2586241c3/build/temp.win-amd64-3.8/Release
Invoking CMake build: 'cmake --build . --config Release -- /m'
Microsoft (R) Build Engine version 16.8.2+25e4d540b for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System
Building Custom Rule C:/Users/ramachandra.govindav/AppData/Local/Temp/pip-install-kj9dkvek/dlib_75d9e1d1c8ec4781b4488cc2586241c3/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
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_1.h(512,18): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_1.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_2.h(537,18): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_2.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_1.h(524,17): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_1.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_2.h(549,17): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_2.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
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
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
fonts.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
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
jdcolor.c
jddctmgr.c
jdhuff.c
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\external\libjpeg\jdatadst.c(185,60): warning C4267: '=': conversion from 'size_t' to 'unsigned long', possible loss of data [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
jdinput.c
jdmainct.c
jdmarker.c
jdmaster.c
jdmerge.c
jdpostct.c
jdsample.c
jerror.c
jfdctflt.c
jfdctfst.c
jfdctint.c
jidctflt.c
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\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\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\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\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
jidctfst.c
jidctint.c
jmemmgr.c
jmemnobs.c
jquant1.c
jquant2.c
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\external\libjpeg\jmemmgr.c(307,53): warning C4267: '+=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
jutils.c
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\external\libjpeg\jmemmgr.c(367,70): warning C4267: '+=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\external\libjpeg\jmemmgr.c(977,46): warning C4267: '-=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\external\libjpeg\jmemmgr.c(991,46): warning C4267: '-=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\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\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\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\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
dlib.vcxproj -> C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\Release\dlib19.21.1_release_64bit_msvc1928.lib
Building Custom Rule C:/Users/ramachandra.govindav/AppData/Local/Temp/pip-install-kj9dkvek/dlib_75d9e1d1c8ec4781b4488cc2586241c3/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
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\other.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\svm_c_trainer.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\svm_rank_trainer.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\vector.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\dlib.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\basic.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\matrix.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
cca.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\decision_functions.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
sequence_segmenter.cpp
svm_struct.cpp
image.cpp
image2.cpp
image3.cpp
image4.cpp
rectangles.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\cca.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\svm_struct.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\sequence_segmenter.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
object_detection.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\image.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\image2.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\image3.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\image4.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
shape_predictor.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\rectangles.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
correlation_tracker.cpp
face_recognition.cpp
cnn_face_detector.cpp
global_optimization.cpp
image_dataset_metadata.cpp
numpy_returns.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\object_detection.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\shape_predictor.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\face_recognition.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\correlation_tracker.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\cnn_face_detector.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\image_dataset_metadata.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\numpy_returns.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
line.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\global_optimization.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
gui.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\line.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\gui.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py", line 223, in
setup(
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\site-packages\setuptools_init.py", line 165, in setup
return distutils.core.setup(**attrs)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\site-packages\wheel\bdist_wheel.py", line 290, in run
self.run_command('build')
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py", line 135, in run
self.build_extension(ext)
File "C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py", line 175, in build_extension
subprocess.check_call(cmake_build, cwd=build_folder)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
ERROR: Failed building wheel for dlib
ERROR: Command errored out with exit status 1:
command: 'C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py'"'"'; file='"'"'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-record-kmbybswc\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\Include\dlib'
cwd: C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3
Complete output (292 lines):
running install
running build
running build_py
package init file 'tools\python\dlib_init_.py' not found (or not a regular file)
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
Building extension for Python 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit (AMD64)]
Invoking CMake setup: 'cmake C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\lib.win-amd64-3.8 -DPYTHON_EXECUTABLE=C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\lib.win-amd64-3.8 -A x64'
-- Building for: Visual Studio 16 2019
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.28.29335.0
-- The CXX compiler identification is MSVC 19.28.29335.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/BuildTools/VC/Tools/MSVC/14.28.29333/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/BuildTools/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/Users/ramachandra.govindav/AppData/Local/Programs/Python/Python38/python.exe (found version "3.8.6")
-- Found PythonLibs: C:/Users/ramachandra.govindav/AppData/Local/Programs/Python/Python38/libs/Python38.lib
-- pybind11 v2.2.4
-- Using CMake version: 3.18.2
-- Compiling dlib version: 19.21.1
-- 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
-- Looking for pthread.h
-- Looking for pthread.h - 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/ramachandra.govindav/AppData/Local/Temp/pip-install-kj9dkvek/dlib_75d9e1d1c8ec4781b4488cc2586241c3/build/temp.win-amd64-3.8/Release
Invoking CMake build: 'cmake --build . --config Release -- /m'
Microsoft (R) Build Engine version 16.8.2+25e4d540b for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System
Building Custom Rule C:/Users/ramachandra.govindav/AppData/Local/Temp/pip-install-kj9dkvek/dlib_75d9e1d1c8ec4781b4488cc2586241c3/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
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_1.h(512,18): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_1.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_1.h(524,17): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_1.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
md5_kernel_1.cpp
tokenizer_kernel_1.cpp
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_2.h(537,18): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_2.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_2.h(549,17): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_2.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
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
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
fonts.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
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
jdcolor.c
jddctmgr.c
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\external\libjpeg\jdatadst.c(185,60): warning C4267: '=': conversion from 'size_t' to 'unsigned long', possible loss of data [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
jdhuff.c
jdinput.c
jdmainct.c
jdmarker.c
jdmaster.c
jdmerge.c
jdpostct.c
jdsample.c
jerror.c
jfdctflt.c
jfdctfst.c
jfdctint.c
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\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\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\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\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
jidctflt.c
jidctfst.c
jidctint.c
jmemmgr.c
jmemnobs.c
jquant1.c
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\external\libjpeg\jmemmgr.c(307,53): warning C4267: '+=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\external\libjpeg\jmemmgr.c(367,70): warning C4267: '+=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\external\libjpeg\jmemmgr.c(977,46): warning C4267: '-=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
jquant2.c
jutils.c
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\external\libjpeg\jmemmgr.c(991,46): warning C4267: '-=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\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\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\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\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
dlib.vcxproj -> C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\Release\dlib19.21.1_release_64bit_msvc1928.lib
Building Custom Rule C:/Users/ramachandra.govindav/AppData/Local/Temp/pip-install-kj9dkvek/dlib_75d9e1d1c8ec4781b4488cc2586241c3/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
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\other.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\matrix.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\decision_functions.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\svm_rank_trainer.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\dlib.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\vector.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\svm_c_trainer.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\basic.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
cca.cpp
sequence_segmenter.cpp
svm_struct.cpp
image.cpp
image2.cpp
image3.cpp
image4.cpp
rectangles.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\sequence_segmenter.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\svm_struct.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\image.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\cca.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\image3.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
object_detection.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\image2.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
shape_predictor.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\image4.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\rectangles.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
correlation_tracker.cpp
face_recognition.cpp
cnn_face_detector.cpp
global_optimization.cpp
image_dataset_metadata.cpp
numpy_returns.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\object_detection.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\shape_predictor.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\correlation_tracker.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\face_recognition.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\cnn_face_detector.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\global_optimization.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
line.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\image_dataset_metadata.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\numpy_returns.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
gui.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\line.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\gui.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py", line 223, in <module>
setup(
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\site-packages\setuptools\__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\site-packages\setuptools\command\install.py", line 61, in run
return orig.install.run(self)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\command\install.py", line 545, in run
self.run_command('build')
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py", line 135, in run
self.build_extension(ext)
File "C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py", line 175, in build_extension
subprocess.check_call(cmake_build, cwd=build_folder)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py'"'"'; file='"'"'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-record-kmbybswc\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\Include\dlib' Check the logs for full command output.
The text was updated successfully, but these errors were encountered:
Hi Team,
While install dlib (pip install dlib), I am getting below error message in Windows 10 OS. Please have a look and help me .
Thanks in advance
Collecting dlib
Using cached dlib-19.21.1.tar.gz (3.6 MB)
Building wheels for collected packages: dlib
Building wheel for dlib (setup.py): started
Building wheel for dlib (setup.py): still running...
Building wheel for dlib (setup.py): still running...
Building wheel for dlib (setup.py): still running...
Building wheel for dlib (setup.py): finished with status 'error'
Running setup.py clean for dlib
Failed to build dlib
Installing collected packages: dlib
Running setup.py install for dlib: started
Running setup.py install for dlib: still running...
Running setup.py install for dlib: still running...
Running setup.py install for dlib: still running...
Running setup.py install for dlib: finished with status 'error'
DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated and has no effect anymore. pip 21.1 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at pypa/pip#8333.
ERROR: Command errored out with exit status 1:
command: 'C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py'"'"'; file='"'"'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-wheel-wfdlv7a3'
cwd: C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3
Complete output (290 lines):
running bdist_wheel
running build
running build_py
package init file 'tools\python\dlib_init_.py' not found (or not a regular file)
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
Building extension for Python 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit (AMD64)]
Invoking CMake setup: 'cmake C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\lib.win-amd64-3.8 -DPYTHON_EXECUTABLE=C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\lib.win-amd64-3.8 -A x64'
-- Building for: Visual Studio 16 2019
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.28.29335.0
-- The CXX compiler identification is MSVC 19.28.29335.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/BuildTools/VC/Tools/MSVC/14.28.29333/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/BuildTools/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/Users/ramachandra.govindav/AppData/Local/Programs/Python/Python38/python.exe (found version "3.8.6")
-- Found PythonLibs: C:/Users/ramachandra.govindav/AppData/Local/Programs/Python/Python38/libs/Python38.lib
-- pybind11 v2.2.4
-- Using CMake version: 3.18.2
-- Compiling dlib version: 19.21.1
-- 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
-- Looking for pthread.h
-- Looking for pthread.h - 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/ramachandra.govindav/AppData/Local/Temp/pip-install-kj9dkvek/dlib_75d9e1d1c8ec4781b4488cc2586241c3/build/temp.win-amd64-3.8/Release
Invoking CMake build: 'cmake --build . --config Release -- /m'
Microsoft (R) Build Engine version 16.8.2+25e4d540b for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_1.h(512,18): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_1.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_2.h(537,18): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_2.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_1.h(524,17): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_1.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_2.h(549,17): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\bigint\bigint_kernel_2.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
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
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
fonts.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
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
jdcolor.c
jddctmgr.c
jdhuff.c
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\external\libjpeg\jdatadst.c(185,60): warning C4267: '=': conversion from 'size_t' to 'unsigned long', possible loss of data [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
jdinput.c
jdmainct.c
jdmarker.c
jdmaster.c
jdmerge.c
jdpostct.c
jdsample.c
jerror.c
jfdctflt.c
jfdctfst.c
jfdctint.c
jidctflt.c
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\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\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\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\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
jidctfst.c
jidctint.c
jmemmgr.c
jmemnobs.c
jquant1.c
jquant2.c
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\external\libjpeg\jmemmgr.c(307,53): warning C4267: '+=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
jutils.c
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\external\libjpeg\jmemmgr.c(367,70): warning C4267: '+=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\external\libjpeg\jmemmgr.c(977,46): warning C4267: '-=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\dlib\external\libjpeg\jmemmgr.c(991,46): warning C4267: '-=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\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\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\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\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
dlib.vcxproj -> C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release\dlib_build\Release\dlib19.21.1_release_64bit_msvc1928.lib
Building Custom Rule C:/Users/ramachandra.govindav/AppData/Local/Temp/pip-install-kj9dkvek/dlib_75d9e1d1c8ec4781b4488cc2586241c3/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
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\other.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\svm_c_trainer.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\svm_rank_trainer.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\vector.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\dlib.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\basic.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\matrix.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
cca.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\decision_functions.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
sequence_segmenter.cpp
svm_struct.cpp
image.cpp
image2.cpp
image3.cpp
image4.cpp
rectangles.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\cca.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\svm_struct.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\sequence_segmenter.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
object_detection.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\image.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\image2.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\image3.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\image4.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
shape_predictor.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\rectangles.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
correlation_tracker.cpp
face_recognition.cpp
cnn_face_detector.cpp
global_optimization.cpp
image_dataset_metadata.cpp
numpy_returns.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\object_detection.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\shape_predictor.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\face_recognition.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\correlation_tracker.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\cnn_face_detector.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\image_dataset_metadata.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\numpy_returns.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
line.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\global_optimization.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
gui.cpp
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\line.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\tools\python\src\gui.cpp) [C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\build\temp.win-amd64-3.8\Release_dlib_pybind11.vcxproj]
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py", line 223, in
setup(
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\site-packages\setuptools_init.py", line 165, in setup
return distutils.core.setup(**attrs)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\site-packages\wheel\bdist_wheel.py", line 290, in run
self.run_command('build')
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py", line 135, in run
self.build_extension(ext)
File "C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py", line 175, in build_extension
subprocess.check_call(cmake_build, cwd=build_folder)
File "C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
ERROR: Failed building wheel for dlib
ERROR: Command errored out with exit status 1:
command: 'C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py'"'"'; file='"'"'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-record-kmbybswc\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\Include\dlib'
cwd: C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3
Complete output (292 lines):
running install
running build
running build_py
package init file 'tools\python\dlib_init_.py' not found (or not a regular file)
warning: build_py: byte-compiling is disabled, skipping.
ERROR: Command errored out with exit status 1: 'C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py'"'"'; file='"'"'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-install-kj9dkvek\dlib_75d9e1d1c8ec4781b4488cc2586241c3\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\ramachandra.govindav\AppData\Local\Temp\pip-record-kmbybswc\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\ramachandra.govindav\AppData\Local\Programs\Python\Python38\Include\dlib' Check the logs for full command output.
The text was updated successfully, but these errors were encountered: