ROOT Version: [Release 6.18/04 - 2019-09-11]
Platform:
Compiler:
Hello everybody.
I installed root on my macbook air just 3 hours ago. After the building and the installing fase, I’ve tried to build pyroot with my anaconda python.
I used the following command in root build folder:
cmake ../root-source/ -DPYTHON_EXECUTABLE=./Users/leonardo/anaconda3/bin/python
where “root-source” is the source folder with the CMakeLists.txt (and other CMake stuff).
The system returns me the following error message:
-- ROOT default compression algorithm: zlib
-- Found a Mac OS X System 10.15
-- Found a 64bit system
-- Found LLVM compiler collection
-- ROOT Platform: macosx
-- ROOT Architecture: macosx64
-- Build Type: RelWithDebInfo
-- Compiler Flags: -std=c++11 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++
-- Looking for ZLib
-- Building freetype version 2.6.1 included in ROOT itself
-- Looking for LZMA
-- Found LZMA includes at /usr/local/include
-- Found LZMA library at /usr/local/lib/liblzma.dylib
-- Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
-- Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
-- Building AfterImage library included in ROOT itself
-- Looking for python
-- Found PythonInterp: /Applications/root/root-build/Users/leonardo/anaconda3/bin/python3 (found version "1.4")
CMake Error at cmake/modules/SearchInstalledSoftware.cmake:444 (message):
Version mismatch between Python interpreter (1.4) and libraries (3.7.3).
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:159 (include)
-- Configuring incomplete, errors occurred!
See also "/Applications/root/root-build/CMakeFiles/CMakeOutput.log".
See also "/Applications/root/root-build/CMakeFiles/CMakeError.log".
thanks to everybody!