` Building wheel for dlib (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [428 lines of output]
running bdist_wheel
running build
running build_py
package init file 'tools/python/dlib/init.py' not found (or not a regular file)
running build_ext
Building extension for Python 3.10.4 (main, Nov 29 2022, 20:00:25) [GCC 9.4.0]
Invoking CMake setup: 'cmake /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/build/lib.linux-x86_64-3.10 -DPYTHON_EXECUTABLE=/usr/local/python/3.10.4/bin/python -DCMAKE_BUILD_TYPE=Release'
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/local/python/3.10.4/bin/python (found version "3.10.4")
-- Found PythonLibs: /usr/local/python/3.10.4/lib/libpython3.10.a
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- pybind11 v2.2.4
-- Using CMake version: 3.16.3
-- Compiling dlib version: 19.24.0
-- SSE4 instructions can be executed by the host processor.
-- AVX instructions can be executed by the host processor.
-- Enabling AVX instructions
-- Looking for pthread.h
-- Looking for pthread.h - found
-- 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 - found
-- Found Threads: TRUE
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found system copy of libpng: /usr/lib/x86_64-linux-gnu/libpng.so;/usr/lib/x86_64-linux-gnu/libz.so
-- Searching for BLAS and LAPACK
-- Searching for BLAS and LAPACK
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'cblas'
-- No package 'cblas' found
-- Checking for module 'lapack'
-- No package 'lapack' found
-- Looking for cblas_ddot
-- Looking for cblas_ddot - not found
-- 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
*** No BLAS library found so using dlib's built in BLAS. However, if you ***
*** install an optimized BLAS such as OpenBLAS or the Intel MKL your code ***
*** will run faster. On Ubuntu you can install OpenBLAS by executing: ***
*** sudo apt-get install libopenblas-dev liblapack-dev ***
*** Or you can easily install OpenBLAS from source by downloading the ***
*** source tar file from http://www.openblas.net, extracting it, and ***
*** running: ***
*** make; sudo make install ***
*****************************************************************************
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: /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/build/temp.linux-x86_64-3.10
Invoking CMake build: 'cmake --build . --config Release -- -j2'
Scanning dependencies of target dlib
[ 1%] Building CXX object dlib_build/CMakeFiles/dlib.dir/base64/base64_kernel_1.cpp.o
[ 2%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bigint/bigint_kernel_1.cpp.o
[ 2%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bigint/bigint_kernel_2.cpp.o
[ 3%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bit_stream/bit_stream_kernel_1.cpp.o
[ 4%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_decoder/entropy_decoder_kernel_1.cpp.o
[ 5%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_decoder/entropy_decoder_kernel_2.cpp.o
[ 5%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_encoder/entropy_encoder_kernel_1.cpp.o
[ 6%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_encoder/entropy_encoder_kernel_2.cpp.o
[ 7%] Building CXX object dlib_build/CMakeFiles/dlib.dir/md5/md5_kernel_1.cpp.o
[ 8%] Building CXX object dlib_build/CMakeFiles/dlib.dir/tokenizer/tokenizer_kernel_1.cpp.o
[ 9%] Building CXX object dlib_build/CMakeFiles/dlib.dir/unicode/unicode.cpp.o
[ 9%] Building CXX object dlib_build/CMakeFiles/dlib.dir/test_for_odr_violations.cpp.o
[ 10%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_kernel_1.cpp.o
[ 11%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bsp/bsp.cpp.o
[ 12%] Building CXX object dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_kernel_1.cpp.o
[ 12%] Building CXX object dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_kernel_2.cpp.o
[ 13%] Building CXX object dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_extensions.cpp.o
[ 14%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/fonts.cpp.o
[ 15%] Building CXX object dlib_build/CMakeFiles/dlib.dir/linker/linker_kernel_1.cpp.o
[ 15%] Building CXX object dlib_build/CMakeFiles/dlib.dir/logger/extra_logger_headers.cpp.o
[ 16%] Building CXX object dlib_build/CMakeFiles/dlib.dir/logger/logger_kernel_1.cpp.o
[ 17%] Building CXX object dlib_build/CMakeFiles/dlib.dir/logger/logger_config_file.cpp.o
[ 18%] Building CXX object dlib_build/CMakeFiles/dlib.dir/misc_api/misc_api_kernel_1.cpp.o
[ 18%] Building CXX object dlib_build/CMakeFiles/dlib.dir/misc_api/misc_api_kernel_2.cpp.o
[ 19%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_extensions.cpp.o
[ 20%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_kernel_2.cpp.o
[ 21%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockstreambuf/sockstreambuf.cpp.o
[ 21%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockstreambuf/sockstreambuf_unbuffered.cpp.o
[ 22%] Building CXX object dlib_build/CMakeFiles/dlib.dir/server/server_kernel.cpp.o
[ 23%] Building CXX object dlib_build/CMakeFiles/dlib.dir/server/server_iostream.cpp.o
[ 24%] Building CXX object dlib_build/CMakeFiles/dlib.dir/server/server_http.cpp.o
[ 25%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/multithreaded_object_extension.cpp.o
[ 25%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threaded_object_extension.cpp.o
[ 26%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_1.cpp.o
[ 27%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_2.cpp.o
[ 28%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_shared.cpp.o
[ 28%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/thread_pool_extension.cpp.o
[ 29%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/async.cpp.o
[ 30%] Building CXX object dlib_build/CMakeFiles/dlib.dir/timer/timer.cpp.o
[ 31%] Building CXX object dlib_build/CMakeFiles/dlib.dir/stack_trace.cpp.o
[ 31%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/cpu_dlib.cpp.o
[ 32%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/tensor_tools.cpp.o
[ 33%] Building CXX object dlib_build/CMakeFiles/dlib.dir/data_io/image_dataset_metadata.cpp.o
[ 34%] Building CXX object dlib_build/CMakeFiles/dlib.dir/data_io/mnist.cpp.o
[ 34%] Building CXX object dlib_build/CMakeFiles/dlib.dir/data_io/cifar.cpp.o
[ 35%] Building CXX object dlib_build/CMakeFiles/dlib.dir/global_optimization/global_function_search.cpp.o
[ 36%] Building CXX object dlib_build/CMakeFiles/dlib.dir/filtering/kalman_filter.cpp.o
[ 37%] Building CXX object dlib_build/CMakeFiles/dlib.dir/svm/auto.cpp.o
[ 38%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/widgets.cpp.o
[ 38%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/drawable.cpp.o
[ 39%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/canvas_drawing.cpp.o
[ 40%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/style.cpp.o
[ 41%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/base_widgets.cpp.o
[ 41%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_core/gui_core_kernel_1.cpp.o
[ 42%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_core/gui_core_kernel_2.cpp.o
[ 43%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_loader/png_loader.cpp.o
[ 44%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_saver/save_png.cpp.o
[ 44%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jaricom.c.o
[ 45%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcapimin.c.o
[ 46%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcapistd.c.o
[ 47%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jccoefct.c.o
[ 47%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcarith.c.o
[ 48%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jccolor.c.o
[ 49%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcdctmgr.c.o
[ 50%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jchuff.c.o
[ 50%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcinit.c.o
[ 51%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcmainct.c.o
[ 52%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcmarker.c.o
[ 53%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcmaster.c.o
[ 54%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcomapi.c.o
[ 54%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcparam.c.o
[ 55%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcprepct.c.o
[ 56%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcsample.c.o
[ 57%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdapimin.c.o
[ 57%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdapistd.c.o
[ 58%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdarith.c.o
[ 59%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdatadst.c.o
[ 60%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdatasrc.c.o
[ 60%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdcoefct.c.o
[ 61%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdcolor.c.o
[ 62%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jddctmgr.c.o
[ 63%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdhuff.c.o
[ 63%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdinput.c.o
[ 64%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdmainct.c.o
[ 65%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdmarker.c.o
[ 66%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdmaster.c.o
[ 67%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdmerge.c.o
[ 67%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdpostct.c.o
[ 68%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdsample.c.o
[ 69%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jerror.c.o
[ 70%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jfdctflt.c.o
[ 70%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jfdctfst.c.o
[ 71%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jfdctint.c.o
[ 72%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jidctflt.c.o
[ 73%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jidctfst.c.o
[ 73%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jidctint.c.o
[ 74%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jmemmgr.c.o
[ 75%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jmemnobs.c.o
[ 76%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jquant1.c.o
[ 76%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jquant2.c.o
[ 77%] Building C object dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jutils.c.o
[ 78%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_loader/jpeg_loader.cpp.o
[ 79%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_saver/save_jpeg.cpp.o
[ 80%] Linking CXX static library libdlib.a
[ 80%] Built target dlib
Scanning dependencies of target _dlib_pybind11
[ 80%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/dlib.cpp.o
[ 81%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/matrix.cpp.o
In file included from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/cast.h:16,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python/pybind_utils.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/opaque_types.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/matrix.cpp:4:
/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’:
/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/internals.h:194:28: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
194 | PyEval_InitThreads();
| ^
In file included from /usr/local/python/3.10.4/include/python3.10/Python.h:130,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/common.h:112,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pytypes.h:12,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/cast.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python/pybind_utils.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/opaque_types.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/matrix.cpp:4:
/usr/local/python/3.10.4/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/cast.h:16,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python/pybind_utils.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/opaque_types.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/matrix.cpp:4:
/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/internals.h:194:28: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
194 | PyEval_InitThreads();
| ^
In file included from /usr/local/python/3.10.4/include/python3.10/Python.h:130,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/common.h:112,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pytypes.h:12,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/cast.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python/pybind_utils.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/opaque_types.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/matrix.cpp:4:
/usr/local/python/3.10.4/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/cast.h:16,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python/pybind_utils.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/opaque_types.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/dlib.cpp:4:
/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’:
/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/internals.h:194:28: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
194 | PyEval_InitThreads();
| ^
In file included from /usr/local/python/3.10.4/include/python3.10/Python.h:130,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/common.h:112,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pytypes.h:12,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/cast.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python/pybind_utils.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/opaque_types.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/dlib.cpp:4:
/usr/local/python/3.10.4/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/cast.h:16,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python/pybind_utils.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/opaque_types.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/dlib.cpp:4:
/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/internals.h:194:28: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
194 | PyEval_InitThreads();
| ^
In file included from /usr/local/python/3.10.4/include/python3.10/Python.h:130,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/common.h:112,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pytypes.h:12,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/cast.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python/pybind_utils.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/opaque_types.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/dlib.cpp:4:
/usr/local/python/3.10.4/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
[ 82%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/vector.cpp.o
In file included from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/cast.h:16,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python/pybind_utils.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/opaque_types.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/vector.cpp:4:
/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’:
/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/internals.h:194:28: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
194 | PyEval_InitThreads();
| ^
In file included from /usr/local/python/3.10.4/include/python3.10/Python.h:130,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/common.h:112,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pytypes.h:12,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/cast.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python/pybind_utils.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/opaque_types.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/vector.cpp:4:
/usr/local/python/3.10.4/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/cast.h:16,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python/pybind_utils.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/opaque_types.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/vector.cpp:4:
/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/internals.h:194:28: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
194 | PyEval_InitThreads();
| ^
In file included from /usr/local/python/3.10.4/include/python3.10/Python.h:130,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/common.h:112,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pytypes.h:12,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/cast.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python/pybind_utils.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/opaque_types.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/vector.cpp:4:
/usr/local/python/3.10.4/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
[ 83%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/svm_c_trainer.cpp.o
In file included from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/cast.h:16,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python/pybind_utils.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/opaque_types.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/svm_c_trainer.cpp:4:
/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’:
/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/internals.h:194:28: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
194 | PyEval_InitThreads();
| ^
In file included from /usr/local/python/3.10.4/include/python3.10/Python.h:130,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/common.h:112,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pytypes.h:12,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/cast.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python/pybind_utils.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/opaque_types.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/svm_c_trainer.cpp:4:
/usr/local/python/3.10.4/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/cast.h:16,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python/pybind_utils.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/opaque_types.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/svm_c_trainer.cpp:4:
/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/internals.h:194:28: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
194 | PyEval_InitThreads();
| ^
In file included from /usr/local/python/3.10.4/include/python3.10/Python.h:130,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/detail/common.h:112,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pytypes.h:12,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/cast.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/external/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python/pybind_utils.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/dlib/../dlib/python.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/opaque_types.h:6,
from /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python/src/svm_c_trainer.cpp:4:
/usr/local/python/3.10.4/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:102: CMakeFiles/_dlib_pybind11.dir/src/svm_c_trainer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:117: CMakeFiles/_dlib_pybind11.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/setup.py", line 222, in <module>
setup(
File "/usr/local/python/3.10.4/lib/python3.10/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/local/python/3.10.4/lib/python3.10/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/python/3.10.4/lib/python3.10/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/local/python/3.10.4/lib/python3.10/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/codespace/.local/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 325, in run
self.run_command("build")
File "/usr/local/python/3.10.4/lib/python3.10/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/python/3.10.4/lib/python3.10/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/python/3.10.4/lib/python3.10/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/local/python/3.10.4/lib/python3.10/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/python/3.10.4/lib/python3.10/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/setup.py", line 134, in run
self.build_extension(ext)
File "/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/setup.py", line 174, in build_extension
subprocess.check_call(cmake_build, cwd=build_folder)
File "/usr/local/python/3.10.4/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j2']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for 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 ╰─> [428 lines of output] running bdist_wheel running build running build_py package init file 'tools/python/dlib/init.py' not found (or not a regular file) running build_ext Building extension for Python 3.10.4 (main, Nov 29 2022, 20:00:25) [GCC 9.4.0] Invoking CMake setup: 'cmake /tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-uecns7_m/dlib_dcaf97c8f39c45d5b695543125bccf14/build/lib.linux-x86_64-3.10 -DPYTHON_EXECUTABLE=/usr/local/python/3.10.4/bin/python -DCMAKE_BUILD_TYPE=Release' -- The C compiler identification is GNU 9.4.0 -- The CXX compiler identification is GNU 9.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: /usr/local/python/3.10.4/bin/python (found version "3.10.4") -- Found PythonLibs: /usr/local/python/3.10.4/lib/libpython3.10.a -- Performing Test HAS_CPP14_FLAG -- Performing Test HAS_CPP14_FLAG - Success -- pybind11 v2.2.4 -- Using CMake version: 3.16.3 -- Compiling dlib version: 19.24.0 -- SSE4 instructions can be executed by the host processor. -- AVX instructions can be executed by the host processor. -- Enabling AVX instructions -- Looking for pthread.h -- Looking for pthread.h - found -- 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 - found -- Found Threads: TRUE -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found system copy of libpng: /usr/lib/x86_64-linux-gnu/libpng.so;/usr/lib/x86_64-linux-gnu/libz.so -- Searching for BLAS and LAPACK -- Searching for BLAS and LAPACK -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for module 'cblas' -- No package 'cblas' found -- Checking for module 'lapack' -- No package 'lapack' found -- Looking for cblas_ddot -- Looking for cblas_ddot - not found -- 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
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for dlib`