Python error withe libraries

hi all
when i want to build the make file with (cmake …/root-6.16.00/) he give this ;
solutions plz

Version mismatch between Python interpreter (3.6.8) and libraries (2.7.17).

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:150 (include)

Hi @eddymaoui,

did you try what the error message suggests, i.e. something like
cmake -DPYTHON_EXECUTABLE=... while leaving out everything else related to python? Also delete the CMakeCache.txt, it could be that on old version is still listed there from an earlier run.