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/ml/CMakeFiles/opencv_ml.dir/src/inner_functions.cpp.o] Error 4 make[1]: *** [source_subfolder/modules/ml/CMakeFiles/opencv_ml.dir/all] Error 2 make[1]: *** 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/imgproc/CMakeFiles/opencv_imgproc.dir/src/clahe.cpp.o] Error 4 make[2]: *** Waiting for unfinished jobs.... g++: internal compiler error: Terminated (program as) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/box_filter.dispatch.cpp.o] Error 4 make[2]: *** Deleting file 'source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/box_filter.dispatch.cpp.o' make[2]: *** [source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color.cpp.o] Terminated make[1]: *** [source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/all] Terminated make: *** [all] Error 2 opencv/4.5.0: ERROR: Package '39ed29155cb2b480a08a26c7c2f4d6a26ac0681e' build failed opencv/4.5.0: WARN: Build folder /home/conan/w/cci_PR-4267/.conan/data/opencv/4.5.0/_/_/build/39ed29155cb2b480a08a26c7c2f4d6a26ac0681e ERROR: Exiting with code: 5