CMake Warning at source_subfolder/cmake/OpenCVDetectPython.cmake:81 (message): CMake's 'find_host_package(PythonInterp 2.7)' found wrong Python version: PYTHON_EXECUTABLE=/opt/pyenv/versions/3.7.5/bin/python PYTHON_VERSION_STRING=3.7.5 Consider providing the 'PYTHON2_EXECUTABLE' variable via CMake command line or environment variables Call Stack (most recent call first): source_subfolder/cmake/OpenCVDetectPython.cmake:271 (find_python) source_subfolder/CMakeLists.txt:606 (include) Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'numpy' clang: error: unable to execute command: Terminated clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 4.0.1-6 (tags/RELEASE_401/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. Terminated make[2]: *** [source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.cpp.o] Error 143 make[2]: *** Waiting for unfinished jobs.... clang: error: unable to execute command: Terminated clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 4.0.1-6 (tags/RELEASE_401/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. Terminated make[2]: *** [source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/rotcalipers.cpp.o] Error 143 clang: error: unable to execute command: Terminated clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 4.0.1-6 (tags/RELEASE_401/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. Terminated make[2]: *** [source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/morph.dispatch.cpp.o] Error 143 make[1]: *** [source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/all] Error 2 make: *** [all] Error 2 opencv/3.4.12: WARN: Build folder is dirty, removing it: /home/conan/w/cci_PR-3465/.conan/data/opencv/3.4.12/_/_/build/a7749dff2dbdb1cc7b577bdcabda84e7bdd89ea7 opencv/3.4.12: ERROR: Package 'a7749dff2dbdb1cc7b577bdcabda84e7bdd89ea7' build failed opencv/3.4.12: WARN: Build folder /home/conan/w/cci_PR-3465/.conan/data/opencv/3.4.12/_/_/build/a7749dff2dbdb1cc7b577bdcabda84e7bdd89ea7 ERROR: Exiting with code: 5