Found PythonInterp: /usr/bin/python (found version "2.7.15") CMake Error at /usr/local/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find PythonLibs: Found unsuitable version "3.6.7", but required is exact version "2.7.15" (found /usr/lib/x86_64-linux-gnu/libpython3.6m.so) Call Stack (most recent call first): /usr/local/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:376 (_FPHSA_FAILURE_MESSAGE) /usr/local/share/cmake-3.13/Modules/FindPythonLibs.cmake:309 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMake/mitkLanguageOptions.cmake:40 (find_package) Wrapping/CMakeLists.txt:4 (include)
Maybe find both, interpreter and library, in one step to ensure consistency: find_package (Python COMPONENTS Interpreter Development).