Dear @vkireyeu ,
As @jonas pointed out, all the stacktraces you have posted in your messages show that your environment is trying to import files which simply do not exist in 6.38, they were completely removed in this PR [Python] Start syncing also `cppyy-backend` with upstream cppyy by guitargeek · Pull Request #19144 · root-project/root · GitHub
As such, there is no explanation other than your system having some leftover trace of those files, which we cannot control, and which needs more investigation on your side to understand why those files are even searched for in the first place.
Cheers,
Vincenzo
@vkireyeu Check environment variables that I mentioned in my recent thread: The thisroot.sh misbahes in ROOT 6.34+
In particular, make sure your “PYTHONPATH” is “clean”.
No, as I wrote before – PyROOT in ROOT 6.38 does not work at all even within Python interpreter.
Removed 6.38, installed latest 6.36.
Import works.
So, it’s 6.36 – at least it can be loaded in interpreter and used with the ‘full-path’ shebang.
This is what I got after loading thisroot.sh
$ echo $PYTHONPATH
$ . thisroot.sh
$ echo $PYTHONPATH
/Users/USR/soft/root_install/lib
$ echo $LD_LIBRARY_PATH
/Users/USR/soft/root_install/lib:/usr/local/lib::/opt/homebrew/lib
$ echo $DYLD_LIBRARY_PATH
/Users/USR/soft/root_install/lib
$ echo $SHLIB_PATH
/Users/USR/soft/root_install/lib:/usr/local/lib:
$ echo $LIBPATH
/Users/USR/soft/root_install/lib:/usr/local/lib:
jonas
December 5, 2025, 10:20am
25
This is what I did from the very beginning in the starting message – compiling 6.38 after removing previous installation of 6.36.
No, as I wrote before – PyROOT in ROOT 6.38 does not work at all even within Python interpreter.
So, it’s 6.36 – at least it can be loaded in interpreter and used with the ‘full-path’ shebang.
So are you complaining about ROOT 6.36 or 6.38 now? Your messages seem to contradict each other, which is why we are confused.
A clear post of what is the current error for the ROOT version that you want to use would help.
There is no any contradiction.
PyROOT in 6.38 does not work at all – so there is no reason to use it.
Installed 6.36.
PyROOT here works partially.
I need PyROOT. So I use that which works at least somehow.
In the message #4 in this thread I explicitly wrote that 6.38 removed → 6.36 installed.