ROOT Version: 6.26.06_2
Platform: Mac OS Monterey 12.6.3 (Intel)
Compiler: Apple clang version 14.0.0 (clang-1400.0.29.202)
The brew website for root (*) says that the “stable” version of root is 6.26.06 and that it needs python 3.10.10
I just installed with “brew install root” and I do indeed use python 3.10.10.
However, when I try to “import ROOT” it claims that the python version is wrong (see below)
Suggestions?
Thanks,
Claudio
(*) Sorry, I would post a link but I am not allowed.
$ python3
Python 3.10.10 (main, Feb 16 2023, 02:58:25) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
import ROOT as r
Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/Cellar/root/6.26.06_2/lib/root/ROOT/init.py”, line 22, in
import cppyy
File “/usr/local/Cellar/root/6.26.06_2/lib/root/cppyy/init.py”, line 96, in
ver = _check_py_version(lib_name[start:], cbl_var)
File “/usr/local/Cellar/root/6.26.06_2/lib/root/cppyy/init.py”, line 77, in _check_py_version
raise RuntimeError(‘CPPYY_BACKEND_LIBRARY variable ({})’
RuntimeError: CPPYY_BACKEND_LIBRARY variable (/usr/local/Cellar/root/6.24.06/lib/root/libcppyy_backend3_9.so) does not match Python version 3.10