Installing ROOT in Opensuse

i am new to installing and using ROOT . i am trying to build ROOT (6.08.04) on OpenSuse Leap15.1 with Xcf desktop env.
i have been getting python interpreter version mismatch error which i am unable to resolve. the error states as follows

CMake Error at cmake/modules/SearchInstalledSoftware.cmake:587 (message):
  Version mismatch between Python interpreter (1.4) and libraries (2.7.14).

  ROOT cannot work with this configuration.  Please specify only
  PYTHON_EXECUTABLE to CMake with an absolute path to ensure matching
  versions are found.
Call Stack (most recent call first):
  CMakeLists.txt:167 (include)

i have checked the path of PYTHON_INCLUDE_DIR and PYTHON_LIBRARY which are as follows.


can any one guide me through thanks.

ROOT Version: 6.08.04
Platform: OpenSuse Leap15.1
Compiler: gcc version 7.4.0

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.


Sorry for the late reply - the New Year’s break was in the way!

“Python interpreter (1.4)” is obviously wrong. I’ve never seen this. You can ask cmake to output a trace of what it does, with variable expansion. That will allow you to see why it thinks you have python version 1.4.

Using the master of ROOT and CMake >= 3.14 will also help, where we use the new CMake way of finding Python.