
Building CXX object dlib_build/CMakeFiles/dlib.dir/base64/base64_kernel_1.cpp.o


Build files have been written to: /tmp/pip-install-xqrlt_6v/dlib/build/temp.linux-x86_64-3.5 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") Use -Wno-dev to suppress it.ĬUDA_TOOLKIT_ROOT_DIR not found or specified tmp/pip-install-xqrlt_6v/dlib/dlib/CMakeLists.txt:545 (include) tmp/pip-install-xqrlt_6v/dlib/dlib/cmake_utils/find_blas.cmake:80 (check_type_size) home/ubuntu/newEnv/lib/python3.5/site-packages/cmake/data/share/cmake-3.12/Modules/CheckTypeSize.cmake:225 (check_include_file) usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/x86_64-linux-gnu/libz.soįor compatibility with CMake 3.11 and below this check is ignoring it. Use the cmake_policy command to set the policy and suppress this Run "cmake -help-policy CMP0075" for policyĭetails. Policy CMP0075 is not set: Include file check macros honorĬMAKE_REQUIRED_LIBRARIES. Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")ĬMake Warning (dev) at /home/ubuntu/newEnv/lib/python3.5/site-packages/cmake/data/share/cmake-3.12/Modules/CheckIncludeFile.cmake:70 (message): Looking for png_create_read_struct - found Looking for IceConnectionNumber in ICE - found Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libXext.so - found Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libXext.so Looking for pthread_create in pthread - found Looking for pthread_create in pthreads - not found AVX instructions can be executed by the host processor. SSE4 instructions can be executed by the host processor. Performing Test HAS_CPP14_FLAG - Success Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so Found PythonInterp: /home/ubuntu/newEnv/bin/python3 (found version "3.5.2") Check for working CXX compiler: /usr/bin/c++ - works Check for working CXX compiler: /usr/bin/c++ Check for working C compiler: /usr/bin/cc - works Check for working C compiler: /usr/bin/cc The CXX compiler identification is GNU 5.4.0 The C compiler identification is GNU 5.4.0

Invoking CMake setup: 'cmake /tmp/pip-install-xqrlt_6v/dlib/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-xqrlt_6v/dlib/build/lib.linux-x86_64-3.5 -DPYTHON_EXECUTABLE=/home/ubuntu/newEnv/bin/python3 -DCMAKE_BUILD_TYPE=Release' Package init file 'dlib/_init_.py' not found (or not a regular file)īuilding extension for Python 3.5.2 (default, Nov 23 2017, 16:37:01)

errorĬomplete output from command /home/ubuntu/newEnv/bin/python3 -u -c "import setuptools, tokenize _file_='/tmp/pip-install-xqrlt_6v/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-c_7ykc12/install-record.txt -single-version-externally-managed -compile -install-headers /home/ubuntu/newEnv/include/site/python3.5/dlib: Also I tried by changing my environment since I was thinking, may be some python version compatibility issue, but with python3 also getting same error. I am trying to install dlib on EC2 ubuntu 16.04, I tried many options suggested on google like this, But getting above error, I install on my local machine which was quite simple and installed easily.
