CMake Warning at source_subfolder/cmake/OpenCVDetectPython.cmake:81 (message): CMake's 'find_host_package(PythonInterp 2.7)' founds wrong Python version: PYTHON_EXECUTABLE=/opt/pyenv/versions/3.7.5/bin/python PYTHON_VERSION_STRING=3.7.5 Consider specify '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:582 (include) Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'numpy' CMake Error at source_subfolder/cmake/OpenCVCompilerOptimizations.cmake:617 (message): Compiler doesn't support optimization flags for AVX dispatch mode: -mssse3 -msse4.1 -mpopcnt -msse4.2 -mavx Call Stack (most recent call first): source_subfolder/cmake/OpenCVCompilerOptions.cmake:290 (ocv_compiler_optimization_options) source_subfolder/CMakeLists.txt:585 (include) opencv/4.1.2: WARN: Build folder is dirty, removing it: /home/conan/w/cci_PR-4270/.conan/data/opencv/4.1.2/_/_/build/1483c17082976ecf7fe4d50d2b61a4cf99a7bf33 ERROR: Exiting with code: 5