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/videoio/CMakeFiles/opencv_videoio.dir/src/cap.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/features2d/CMakeFiles/opencv_features2d.dir/src/matchers.cpp.o] Error 4 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/mser.cpp.o] Terminated make[1]: *** [source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/all] Terminated 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/videoio/CMakeFiles/opencv_videoio.dir/src/cap_images.cpp.o] Error 4 make[1]: *** [source_subfolder/modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2 make: *** [all] Error 2 opencv/4.5.0: ERROR: Package '1483c17082976ecf7fe4d50d2b61a4cf99a7bf33' build failed opencv/4.5.0: WARN: Build folder /home/conan/w/cci_PR-4267/.conan/data/opencv/4.5.0/_/_/build/1483c17082976ecf7fe4d50d2b61a4cf99a7bf33 ERROR: opencv/4.5.0: Error in build() method, line 267 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/cci_PR-4267/.conan/data/opencv/4.5.0/_/_/build/1483c17082976ecf7fe4d50d2b61a4cf99a7bf33/build_subfolder' '--' '-j3' Terminated