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:607 (include) Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'numpy' g++: internal compiler error: Terminated (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [source_subfolder/modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_core.cpp.o] Error 4 make[2]: *** Waiting for unfinished jobs.... g++: internal compiler error: Terminated (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [source_subfolder/modules/core/CMakeFiles/opencv_core.dir/src/opengl.cpp.o] Error 4 g++: internal compiler error: Terminated (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [source_subfolder/modules/core/CMakeFiles/opencv_core.dir/src/out.cpp.o] Error 4 make[1]: *** [source_subfolder/modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make: *** [all] Error 2 opencv/4.5.0: ERROR: Package 'f5ad863db07e61b8cb85cf948a25f8d0a80bdcbf' build failed opencv/4.5.0: WARN: Build folder /home/conan/w/cci_PR-3409/.conan/data/opencv/4.5.0/_/_/build/f5ad863db07e61b8cb85cf948a25f8d0a80bdcbf ERROR: opencv/4.5.0: Error in build() method, line 198 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/cci_PR-3409/.conan/data/opencv/4.5.0/_/_/build/f5ad863db07e61b8cb85cf948a25f8d0a80bdcbf/build_subfolder' '--' '-j3' Terminated