Created
June 24, 2019 04:29
-
-
Save GhettoBurger996/1e6a423b88b7435c8759255e19fa5e60 to your computer and use it in GitHub Desktop.
Dlib Installation Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(venv3) roboi9@roboi9-X299-AORUS-Gaming-3:~$ pip3 install dlib | |
Collecting dlib | |
Using cached https://files.pythonhosted.org/packages/05/57/e8a8caa3c89a27f80bc78da39c423e2553f482a3705adc619176a3a24b36/dlib-19.17.0.tar.gz | |
Building wheels for collected packages: dlib | |
Building wheel for dlib (setup.py) ... error | |
ERROR: Complete output from command /home/roboi9/venv3/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-n3edlevb/dlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-up8zefmp --python-tag cp35: | |
ERROR: running bdist_wheel | |
running build | |
running build_py | |
package init file 'dlib/__init__.py' not found (or not a regular file) | |
running build_ext | |
Building extension for Python 3.5.2 (default, Nov 12 2018, 13:43:14) | |
Invoking CMake setup: 'cmake /tmp/pip-install-n3edlevb/dlib/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-n3edlevb/dlib/build/lib.linux-x86_64-3.5 -DPYTHON_EXECUTABLE=/home/roboi9/venv3/bin/python3 -DCMAKE_BUILD_TYPE=Release' | |
-- The C compiler identification is GNU 5.4.0 | |
-- The CXX compiler identification is GNU 5.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: /home/roboi9/venv3/bin/python3 (found version "3.5.2") | |
-- Found PythonLibs: python3.5m | |
-- Performing Test HAS_CPP14_FLAG | |
-- Performing Test HAS_CPP14_FLAG - Success | |
-- pybind11 v2.2.2 | |
-- Using CMake version: 3.5.1 | |
-- Compiling dlib version: 19.17.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 | |
-- Looking for pthread_create | |
-- Looking for pthread_create - not found | |
-- 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 | |
-- 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 X11: /usr/lib/x86_64-linux-gnu/libX11.so | |
-- Looking for png_create_read_struct | |
-- Looking for png_create_read_struct - found | |
-- Looking for jpeg_read_header | |
-- Looking for jpeg_read_header - found | |
-- 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' | |
-- Found lapack, version 0.2.18 | |
-- 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 | |
-- Found OpenBLAS library | |
-- Looking for sgetrf_single | |
-- Looking for sgetrf_single - found | |
-- Using OpenBLAS's built in LAPACK | |
-- Looking for cblas_ddot | |
-- Looking for cblas_ddot - found | |
-- Looking for sgesv | |
-- Looking for sgesv - not found | |
-- Looking for sgesv_ | |
-- Looking for sgesv_ - not found | |
-- Found CUDA: /usr/local/cuda (found suitable version "10.0", minimum required is "7.5") | |
-- Looking for cuDNN install... | |
-- Found cuDNN: /usr/lib/x86_64-linux-gnu/libcudnn.so | |
-- Building a CUDA test project to see if your compiler is compatible with CUDA... | |
-- Checking if you have the right version of cuDNN installed. | |
-- Enabling CUDA support for dlib. DLIB WILL USE CUDA | |
-- C++11 activated. | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /tmp/pip-install-n3edlevb/dlib/build/temp.linux-x86_64-3.5 | |
Invoking CMake build: 'cmake --build . --config Release -- -j16' | |
[ 1%] Building NVCC (Device) object dlib_build/CMakeFiles/dlib.dir/cuda/dlib_generated_cusolver_dlibapi.cu.o | |
[ 2%] Building NVCC (Device) object dlib_build/CMakeFiles/dlib.dir/cuda/dlib_generated_cuda_dlib.cu.o | |
Scanning dependencies of target dlib | |
[ 3%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_decoder/entropy_decoder_kernel_1.cpp.o | |
[ 4%] Building CXX object dlib_build/CMakeFiles/dlib.dir/global_optimization/global_function_search.cpp.o | |
[ 5%] Building CXX object dlib_build/CMakeFiles/dlib.dir/test_for_odr_violations.cpp.o | |
[ 6%] Building CXX object dlib_build/CMakeFiles/dlib.dir/tokenizer/tokenizer_kernel_1.cpp.o | |
[ 7%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_decoder/entropy_decoder_kernel_2.cpp.o | |
[ 8%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bigint/bigint_kernel_2.cpp.o | |
[ 9%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_encoder/entropy_encoder_kernel_2.cpp.o | |
[ 10%] Building CXX object dlib_build/CMakeFiles/dlib.dir/unicode/unicode.cpp.o | |
[ 12%] Building CXX object dlib_build/CMakeFiles/dlib.dir/base64/base64_kernel_1.cpp.o | |
[ 12%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bigint/bigint_kernel_1.cpp.o | |
[ 13%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bit_stream/bit_stream_kernel_1.cpp.o | |
[ 15%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_encoder/entropy_encoder_kernel_1.cpp.o | |
[ 16%] Building CXX object dlib_build/CMakeFiles/dlib.dir/md5/md5_kernel_1.cpp.o | |
[ 17%] Building CXX object dlib_build/CMakeFiles/dlib.dir/data_io/image_dataset_metadata.cpp.o | |
[ 18%] Building CXX object dlib_build/CMakeFiles/dlib.dir/data_io/mnist.cpp.o | |
[ 19%] Building CXX object dlib_build/CMakeFiles/dlib.dir/filtering/kalman_filter.cpp.o | |
[ 20%] Building CXX object dlib_build/CMakeFiles/dlib.dir/svm/auto.cpp.o | |
[ 21%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_kernel_1.cpp.o | |
[ 22%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bsp/bsp.cpp.o | |
[ 23%] Building CXX object dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_kernel_1.cpp.o | |
[ 24%] Building CXX object dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_kernel_2.cpp.o | |
[ 25%] Building CXX object dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_extensions.cpp.o | |
[ 26%] Building CXX object dlib_build/CMakeFiles/dlib.dir/linker/linker_kernel_1.cpp.o | |
[ 27%] Building CXX object dlib_build/CMakeFiles/dlib.dir/logger/extra_logger_headers.cpp.o | |
[ 29%] Building CXX object dlib_build/CMakeFiles/dlib.dir/logger/logger_kernel_1.cpp.o | |
[ 30%] Building CXX object dlib_build/CMakeFiles/dlib.dir/logger/logger_config_file.cpp.o | |
[ 31%] Building CXX object dlib_build/CMakeFiles/dlib.dir/misc_api/misc_api_kernel_1.cpp.o | |
[ 32%] Building CXX object dlib_build/CMakeFiles/dlib.dir/misc_api/misc_api_kernel_2.cpp.o | |
[ 33%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_extensions.cpp.o | |
[ 34%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_kernel_2.cpp.o | |
[ 35%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockstreambuf/sockstreambuf.cpp.o | |
[ 36%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockstreambuf/sockstreambuf_unbuffered.cpp.o | |
[ 37%] Building CXX object dlib_build/CMakeFiles/dlib.dir/server/server_kernel.cpp.o | |
[ 38%] Building CXX object dlib_build/CMakeFiles/dlib.dir/server/server_iostream.cpp.o | |
[ 39%] Building CXX object dlib_build/CMakeFiles/dlib.dir/server/server_http.cpp.o | |
[ 40%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/multithreaded_object_extension.cpp.o | |
[ 41%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threaded_object_extension.cpp.o | |
[ 43%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_1.cpp.o | |
[ 44%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_2.cpp.o | |
[ 45%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_shared.cpp.o | |
[ 46%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/thread_pool_extension.cpp.o | |
[ 47%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/async.cpp.o | |
[ 48%] Building CXX object dlib_build/CMakeFiles/dlib.dir/timer/timer.cpp.o | |
[ 49%] Building CXX object dlib_build/CMakeFiles/dlib.dir/stack_trace.cpp.o | |
[ 50%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/cpu_dlib.cpp.o | |
[ 51%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/tensor_tools.cpp.o | |
[ 52%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/fonts.cpp.o | |
[ 53%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/widgets.cpp.o | |
[ 54%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/drawable.cpp.o | |
[ 55%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/canvas_drawing.cpp.o | |
[ 56%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/style.cpp.o | |
[ 58%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/base_widgets.cpp.o | |
[ 59%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_core/gui_core_kernel_1.cpp.o | |
[ 60%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_core/gui_core_kernel_2.cpp.o | |
[ 61%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_loader/png_loader.cpp.o | |
[ 62%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_saver/save_png.cpp.o | |
[ 63%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_loader/jpeg_loader.cpp.o | |
[ 64%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_saver/save_jpeg.cpp.o | |
[ 65%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/cudnn_dlibapi.cpp.o | |
[ 66%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/cublas_dlibapi.cpp.o | |
[ 67%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/curand_dlibapi.cpp.o | |
[ 68%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/cuda_data_ptr.cpp.o | |
[ 69%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/gpu_data.cpp.o | |
[ 70%] Linking CXX static library libdlib.a | |
[ 70%] Built target dlib | |
Scanning dependencies of target dlib_python | |
[ 72%] Building CXX object CMakeFiles/dlib_python.dir/src/sequence_segmenter.cpp.o | |
[ 73%] Building CXX object CMakeFiles/dlib_python.dir/src/dlib.cpp.o | |
[ 74%] Building CXX object CMakeFiles/dlib_python.dir/src/matrix.cpp.o | |
[ 75%] Building CXX object CMakeFiles/dlib_python.dir/src/image4.cpp.o | |
[ 76%] Building CXX object CMakeFiles/dlib_python.dir/src/svm_c_trainer.cpp.o | |
[ 78%] Building CXX object CMakeFiles/dlib_python.dir/src/vector.cpp.o | |
[ 78%] Building CXX object CMakeFiles/dlib_python.dir/src/svm_rank_trainer.cpp.o | |
[ 79%] Building CXX object CMakeFiles/dlib_python.dir/src/other.cpp.o | |
[ 80%] Building CXX object CMakeFiles/dlib_python.dir/src/cca.cpp.o | |
[ 81%] Building CXX object CMakeFiles/dlib_python.dir/src/decision_functions.cpp.o | |
[ 82%] Building CXX object CMakeFiles/dlib_python.dir/src/image2.cpp.o | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/matrix.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
[ 84%] Building CXX object CMakeFiles/dlib_python.dir/src/image.cpp.o | |
[ 84%] Building CXX object CMakeFiles/dlib_python.dir/src/basic.cpp.o | |
CMakeFiles/dlib_python.dir/build.make:86: recipe for target 'CMakeFiles/dlib_python.dir/src/matrix.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/matrix.cpp.o] Error 1 | |
make[2]: *** Waiting for unfinished jobs.... | |
[ 86%] Building CXX object CMakeFiles/dlib_python.dir/src/image3.cpp.o | |
[ 87%] Building CXX object CMakeFiles/dlib_python.dir/src/svm_struct.cpp.o | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/sequence_segmenter.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
[ 88%] Building CXX object CMakeFiles/dlib_python.dir/src/rectangles.cpp.o | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/image4.cpp:3: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:278: recipe for target 'CMakeFiles/dlib_python.dir/src/sequence_segmenter.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/sequence_segmenter.cpp.o] Error 1 | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/dlib.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:398: recipe for target 'CMakeFiles/dlib_python.dir/src/image4.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/image4.cpp.o] Error 1 | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/other.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/vector.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:62: recipe for target 'CMakeFiles/dlib_python.dir/src/dlib.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/dlib.cpp.o] Error 1 | |
CMakeFiles/dlib_python.dir/build.make:206: recipe for target 'CMakeFiles/dlib_python.dir/src/other.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/other.cpp.o] Error 1 | |
CMakeFiles/dlib_python.dir/build.make:110: recipe for target 'CMakeFiles/dlib_python.dir/src/vector.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/vector.cpp.o] Error 1 | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/svm_c_trainer.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/svm_rank_trainer.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:134: recipe for target 'CMakeFiles/dlib_python.dir/src/svm_c_trainer.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/svm_c_trainer.cpp.o] Error 1 | |
CMakeFiles/dlib_python.dir/build.make:158: recipe for target 'CMakeFiles/dlib_python.dir/src/svm_rank_trainer.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/svm_rank_trainer.cpp.o] Error 1 | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/decision_functions.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/cca.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:182: recipe for target 'CMakeFiles/dlib_python.dir/src/decision_functions.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/decision_functions.cpp.o] Error 1 | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/rectangles.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:254: recipe for target 'CMakeFiles/dlib_python.dir/src/cca.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/cca.cpp.o] Error 1 | |
CMakeFiles/dlib_python.dir/build.make:422: recipe for target 'CMakeFiles/dlib_python.dir/src/rectangles.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/rectangles.cpp.o] Error 1 | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/basic.cpp:3: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/image.cpp:3: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/svm_struct.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:230: recipe for target 'CMakeFiles/dlib_python.dir/src/basic.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/basic.cpp.o] Error 1 | |
CMakeFiles/dlib_python.dir/build.make:302: recipe for target 'CMakeFiles/dlib_python.dir/src/svm_struct.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/svm_struct.cpp.o] Error 1 | |
CMakeFiles/dlib_python.dir/build.make:326: recipe for target 'CMakeFiles/dlib_python.dir/src/image.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/image.cpp.o] Error 1 | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/image2.cpp:3: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:350: recipe for target 'CMakeFiles/dlib_python.dir/src/image2.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/image2.cpp.o] Error 1 | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/image3.cpp:3: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:374: recipe for target 'CMakeFiles/dlib_python.dir/src/image3.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/image3.cpp.o] Error 1 | |
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/dlib_python.dir/all' failed | |
make[1]: *** [CMakeFiles/dlib_python.dir/all] Error 2 | |
Makefile:83: recipe for target 'all' failed | |
make: *** [all] Error 2 | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/tmp/pip-install-n3edlevb/dlib/setup.py", line 261, in <module> | |
'Topic :: Software Development', | |
File "/usr/lib/python3.5/distutils/core.py", line 148, in setup | |
dist.run_commands() | |
File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands | |
self.run_command(cmd) | |
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command | |
cmd_obj.run() | |
File "/home/roboi9/venv3/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 192, in run | |
self.run_command('build') | |
File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command | |
self.distribution.run_command(command) | |
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command | |
cmd_obj.run() | |
File "/usr/lib/python3.5/distutils/command/build.py", line 135, in run | |
self.run_command(cmd_name) | |
File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command | |
self.distribution.run_command(command) | |
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command | |
cmd_obj.run() | |
File "/tmp/pip-install-n3edlevb/dlib/setup.py", line 135, in run | |
self.build_extension(ext) | |
File "/tmp/pip-install-n3edlevb/dlib/setup.py", line 175, in build_extension | |
subprocess.check_call(cmake_build, cwd=build_folder) | |
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call | |
raise CalledProcessError(retcode, cmd) | |
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j16']' returned non-zero exit status 2 | |
---------------------------------------- | |
ERROR: Failed building wheel for dlib | |
Running setup.py clean for dlib | |
Failed to build dlib | |
Installing collected packages: dlib | |
Running setup.py install for dlib ... error | |
ERROR: Complete output from command /home/roboi9/venv3/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-n3edlevb/dlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-bincfxc9/install-record.txt --single-version-externally-managed --compile --install-headers /home/roboi9/venv3/include/site/python3.5/dlib: | |
ERROR: running install | |
running build | |
running build_py | |
package init file 'dlib/__init__.py' not found (or not a regular file) | |
running build_ext | |
Building extension for Python 3.5.2 (default, Nov 12 2018, 13:43:14) | |
Invoking CMake setup: 'cmake /tmp/pip-install-n3edlevb/dlib/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-n3edlevb/dlib/build/lib.linux-x86_64-3.5 -DPYTHON_EXECUTABLE=/home/roboi9/venv3/bin/python3 -DCMAKE_BUILD_TYPE=Release' | |
-- The C compiler identification is GNU 5.4.0 | |
-- The CXX compiler identification is GNU 5.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: /home/roboi9/venv3/bin/python3 (found version "3.5.2") | |
-- Found PythonLibs: python3.5m | |
-- Performing Test HAS_CPP14_FLAG | |
-- Performing Test HAS_CPP14_FLAG - Success | |
-- pybind11 v2.2.2 | |
-- Using CMake version: 3.5.1 | |
-- Compiling dlib version: 19.17.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 | |
-- Looking for pthread_create | |
-- Looking for pthread_create - not found | |
-- 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 | |
-- 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 X11: /usr/lib/x86_64-linux-gnu/libX11.so | |
-- Looking for png_create_read_struct | |
-- Looking for png_create_read_struct - found | |
-- Looking for jpeg_read_header | |
-- Looking for jpeg_read_header - found | |
-- 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' | |
-- Found lapack, version 0.2.18 | |
-- 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 | |
-- Found OpenBLAS library | |
-- Looking for sgetrf_single | |
-- Looking for sgetrf_single - found | |
-- Using OpenBLAS's built in LAPACK | |
-- Looking for cblas_ddot | |
-- Looking for cblas_ddot - found | |
-- Looking for sgesv | |
-- Looking for sgesv - not found | |
-- Looking for sgesv_ | |
-- Looking for sgesv_ - not found | |
-- Found CUDA: /usr/local/cuda (found suitable version "10.0", minimum required is "7.5") | |
-- Looking for cuDNN install... | |
-- Found cuDNN: /usr/lib/x86_64-linux-gnu/libcudnn.so | |
-- Building a CUDA test project to see if your compiler is compatible with CUDA... | |
-- Checking if you have the right version of cuDNN installed. | |
-- Enabling CUDA support for dlib. DLIB WILL USE CUDA | |
-- C++11 activated. | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /tmp/pip-install-n3edlevb/dlib/build/temp.linux-x86_64-3.5 | |
Invoking CMake build: 'cmake --build . --config Release -- -j16' | |
[ 1%] Building NVCC (Device) object dlib_build/CMakeFiles/dlib.dir/cuda/dlib_generated_cusolver_dlibapi.cu.o | |
[ 2%] Building NVCC (Device) object dlib_build/CMakeFiles/dlib.dir/cuda/dlib_generated_cuda_dlib.cu.o | |
Scanning dependencies of target dlib | |
[ 3%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bigint/bigint_kernel_2.cpp.o | |
[ 4%] Building CXX object dlib_build/CMakeFiles/dlib.dir/filtering/kalman_filter.cpp.o | |
[ 6%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_decoder/entropy_decoder_kernel_2.cpp.o | |
[ 6%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bit_stream/bit_stream_kernel_1.cpp.o | |
[ 8%] Building CXX object dlib_build/CMakeFiles/dlib.dir/base64/base64_kernel_1.cpp.o | |
[ 8%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bigint/bigint_kernel_1.cpp.o | |
[ 9%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_decoder/entropy_decoder_kernel_1.cpp.o | |
[ 10%] Building CXX object dlib_build/CMakeFiles/dlib.dir/md5/md5_kernel_1.cpp.o | |
[ 11%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_encoder/entropy_encoder_kernel_2.cpp.o | |
[ 13%] Building CXX object dlib_build/CMakeFiles/dlib.dir/unicode/unicode.cpp.o | |
[ 13%] Building CXX object dlib_build/CMakeFiles/dlib.dir/tokenizer/tokenizer_kernel_1.cpp.o | |
[ 15%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_encoder/entropy_encoder_kernel_1.cpp.o | |
[ 16%] Building CXX object dlib_build/CMakeFiles/dlib.dir/data_io/image_dataset_metadata.cpp.o | |
[ 17%] Building CXX object dlib_build/CMakeFiles/dlib.dir/test_for_odr_violations.cpp.o | |
[ 18%] Building CXX object dlib_build/CMakeFiles/dlib.dir/data_io/mnist.cpp.o | |
[ 19%] Building CXX object dlib_build/CMakeFiles/dlib.dir/global_optimization/global_function_search.cpp.o | |
[ 20%] Building CXX object dlib_build/CMakeFiles/dlib.dir/svm/auto.cpp.o | |
[ 21%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_kernel_1.cpp.o | |
[ 22%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bsp/bsp.cpp.o | |
[ 23%] Building CXX object dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_kernel_1.cpp.o | |
[ 24%] Building CXX object dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_kernel_2.cpp.o | |
[ 25%] Building CXX object dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_extensions.cpp.o | |
[ 26%] Building CXX object dlib_build/CMakeFiles/dlib.dir/linker/linker_kernel_1.cpp.o | |
[ 27%] Building CXX object dlib_build/CMakeFiles/dlib.dir/logger/extra_logger_headers.cpp.o | |
[ 29%] Building CXX object dlib_build/CMakeFiles/dlib.dir/logger/logger_kernel_1.cpp.o | |
[ 30%] Building CXX object dlib_build/CMakeFiles/dlib.dir/logger/logger_config_file.cpp.o | |
[ 31%] Building CXX object dlib_build/CMakeFiles/dlib.dir/misc_api/misc_api_kernel_1.cpp.o | |
[ 32%] Building CXX object dlib_build/CMakeFiles/dlib.dir/misc_api/misc_api_kernel_2.cpp.o | |
[ 33%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_extensions.cpp.o | |
[ 34%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_kernel_2.cpp.o | |
[ 35%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockstreambuf/sockstreambuf.cpp.o | |
[ 36%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockstreambuf/sockstreambuf_unbuffered.cpp.o | |
[ 37%] Building CXX object dlib_build/CMakeFiles/dlib.dir/server/server_kernel.cpp.o | |
[ 38%] Building CXX object dlib_build/CMakeFiles/dlib.dir/server/server_iostream.cpp.o | |
[ 39%] Building CXX object dlib_build/CMakeFiles/dlib.dir/server/server_http.cpp.o | |
[ 40%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/multithreaded_object_extension.cpp.o | |
[ 41%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threaded_object_extension.cpp.o | |
[ 43%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_1.cpp.o | |
[ 44%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_2.cpp.o | |
[ 45%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_shared.cpp.o | |
[ 46%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/thread_pool_extension.cpp.o | |
[ 47%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/async.cpp.o | |
[ 48%] Building CXX object dlib_build/CMakeFiles/dlib.dir/timer/timer.cpp.o | |
[ 49%] Building CXX object dlib_build/CMakeFiles/dlib.dir/stack_trace.cpp.o | |
[ 50%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/cpu_dlib.cpp.o | |
[ 51%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/tensor_tools.cpp.o | |
[ 52%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/fonts.cpp.o | |
[ 53%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/widgets.cpp.o | |
[ 54%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/drawable.cpp.o | |
[ 55%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/canvas_drawing.cpp.o | |
[ 56%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/style.cpp.o | |
[ 58%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/base_widgets.cpp.o | |
[ 59%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_core/gui_core_kernel_1.cpp.o | |
[ 60%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_core/gui_core_kernel_2.cpp.o | |
[ 61%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_loader/png_loader.cpp.o | |
[ 62%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_saver/save_png.cpp.o | |
[ 63%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_loader/jpeg_loader.cpp.o | |
[ 64%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_saver/save_jpeg.cpp.o | |
[ 65%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/cudnn_dlibapi.cpp.o | |
[ 66%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/cublas_dlibapi.cpp.o | |
[ 67%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/curand_dlibapi.cpp.o | |
[ 68%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/cuda_data_ptr.cpp.o | |
[ 69%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/gpu_data.cpp.o | |
[ 70%] Linking CXX static library libdlib.a | |
[ 70%] Built target dlib | |
Scanning dependencies of target dlib_python | |
[ 72%] Building CXX object CMakeFiles/dlib_python.dir/src/dlib.cpp.o | |
[ 73%] Building CXX object CMakeFiles/dlib_python.dir/src/matrix.cpp.o | |
[ 74%] Building CXX object CMakeFiles/dlib_python.dir/src/vector.cpp.o | |
[ 75%] Building CXX object CMakeFiles/dlib_python.dir/src/basic.cpp.o | |
[ 76%] Building CXX object CMakeFiles/dlib_python.dir/src/svm_c_trainer.cpp.o | |
[ 77%] Building CXX object CMakeFiles/dlib_python.dir/src/svm_rank_trainer.cpp.o | |
[ 78%] Building CXX object CMakeFiles/dlib_python.dir/src/decision_functions.cpp.o | |
[ 80%] Building CXX object CMakeFiles/dlib_python.dir/src/image.cpp.o | |
[ 80%] Building CXX object CMakeFiles/dlib_python.dir/src/other.cpp.o | |
[ 81%] Building CXX object CMakeFiles/dlib_python.dir/src/sequence_segmenter.cpp.o | |
[ 82%] Building CXX object CMakeFiles/dlib_python.dir/src/svm_struct.cpp.o | |
[ 83%] Building CXX object CMakeFiles/dlib_python.dir/src/cca.cpp.o | |
[ 84%] Building CXX object CMakeFiles/dlib_python.dir/src/image2.cpp.o | |
[ 86%] Building CXX object CMakeFiles/dlib_python.dir/src/rectangles.cpp.o | |
[ 87%] Building CXX object CMakeFiles/dlib_python.dir/src/image4.cpp.o | |
[ 88%] Building CXX object CMakeFiles/dlib_python.dir/src/image3.cpp.o | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/dlib.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:62: recipe for target 'CMakeFiles/dlib_python.dir/src/dlib.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/dlib.cpp.o] Error 1 | |
make[2]: *** Waiting for unfinished jobs.... | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/matrix.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/image.cpp:3: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/basic.cpp:3: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:86: recipe for target 'CMakeFiles/dlib_python.dir/src/matrix.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/matrix.cpp.o] Error 1 | |
CMakeFiles/dlib_python.dir/build.make:326: recipe for target 'CMakeFiles/dlib_python.dir/src/image.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/image.cpp.o] Error 1 | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/vector.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/svm_c_trainer.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/decision_functions.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:230: recipe for target 'CMakeFiles/dlib_python.dir/src/basic.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/basic.cpp.o] Error 1 | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/cca.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:134: recipe for target 'CMakeFiles/dlib_python.dir/src/svm_c_trainer.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/svm_c_trainer.cpp.o] Error 1 | |
CMakeFiles/dlib_python.dir/build.make:110: recipe for target 'CMakeFiles/dlib_python.dir/src/vector.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/vector.cpp.o] Error 1 | |
CMakeFiles/dlib_python.dir/build.make:182: recipe for target 'CMakeFiles/dlib_python.dir/src/decision_functions.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/decision_functions.cpp.o] Error 1 | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/svm_rank_trainer.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:254: recipe for target 'CMakeFiles/dlib_python.dir/src/cca.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/cca.cpp.o] Error 1 | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/sequence_segmenter.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/other.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/image2.cpp:3: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:278: recipe for target 'CMakeFiles/dlib_python.dir/src/sequence_segmenter.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/sequence_segmenter.cpp.o] Error 1 | |
CMakeFiles/dlib_python.dir/build.make:158: recipe for target 'CMakeFiles/dlib_python.dir/src/svm_rank_trainer.cpp.o' failed | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/image4.cpp:3: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/svm_rank_trainer.cpp.o] Error 1 | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/svm_struct.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:206: recipe for target 'CMakeFiles/dlib_python.dir/src/other.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/other.cpp.o] Error 1 | |
CMakeFiles/dlib_python.dir/build.make:350: recipe for target 'CMakeFiles/dlib_python.dir/src/image2.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/image2.cpp.o] Error 1 | |
CMakeFiles/dlib_python.dir/build.make:398: recipe for target 'CMakeFiles/dlib_python.dir/src/image4.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/image4.cpp.o] Error 1 | |
CMakeFiles/dlib_python.dir/build.make:302: recipe for target 'CMakeFiles/dlib_python.dir/src/svm_struct.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/svm_struct.cpp.o] Error 1 | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/rectangles.cpp:4: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
In file included from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pytypes.h:12:0, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/cast.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/attr.h:13, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/pybind11.h:43, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python/pybind_utils.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/dlib/../dlib/python.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/opaque_types.h:6, | |
from /tmp/pip-install-n3edlevb/dlib/tools/python/src/image3.cpp:3: | |
/tmp/pip-install-n3edlevb/dlib/dlib/external/pybind11/include/pybind11/detail/common.h:111:20: fatal error: Python.h: No such file or directory | |
compilation terminated. | |
compilation terminated. | |
CMakeFiles/dlib_python.dir/build.make:374: recipe for target 'CMakeFiles/dlib_python.dir/src/image3.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/image3.cpp.o] Error 1 | |
CMakeFiles/dlib_python.dir/build.make:422: recipe for target 'CMakeFiles/dlib_python.dir/src/rectangles.cpp.o' failed | |
make[2]: *** [CMakeFiles/dlib_python.dir/src/rectangles.cpp.o] Error 1 | |
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/dlib_python.dir/all' failed | |
make[1]: *** [CMakeFiles/dlib_python.dir/all] Error 2 | |
Makefile:83: recipe for target 'all' failed | |
make: *** [all] Error 2 | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/tmp/pip-install-n3edlevb/dlib/setup.py", line 261, in <module> | |
'Topic :: Software Development', | |
File "/usr/lib/python3.5/distutils/core.py", line 148, in setup | |
dist.run_commands() | |
File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands | |
self.run_command(cmd) | |
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command | |
cmd_obj.run() | |
File "/home/roboi9/venv3/lib/python3.5/site-packages/setuptools/command/install.py", line 61, in run | |
return orig.install.run(self) | |
File "/usr/lib/python3.5/distutils/command/install.py", line 583, in run | |
self.run_command('build') | |
File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command | |
self.distribution.run_command(command) | |
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command | |
cmd_obj.run() | |
File "/usr/lib/python3.5/distutils/command/build.py", line 135, in run | |
self.run_command(cmd_name) | |
File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command | |
self.distribution.run_command(command) | |
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command | |
cmd_obj.run() | |
File "/tmp/pip-install-n3edlevb/dlib/setup.py", line 135, in run | |
self.build_extension(ext) | |
File "/tmp/pip-install-n3edlevb/dlib/setup.py", line 175, in build_extension | |
subprocess.check_call(cmake_build, cwd=build_folder) | |
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call | |
raise CalledProcessError(retcode, cmd) | |
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j16']' returned non-zero exit status 2 | |
---------------------------------------- | |
ERROR: Command "/home/roboi9/venv3/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-n3edlevb/dlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-bincfxc9/install-record.txt --single-version-externally-managed --compile --install-headers /home/roboi9/venv3/include/site/python3.5/dlib" failed with error code 1 in /tmp/pip-install-n3edlevb/dlib/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment