ROOT in Python3 (and in Python3-kernel jupyter notebooks)

I’m not familiar with the cmake build system and options, so I can’t help you there. But clearly in your code above, ROOT.py (and hence most likely libPyROOT.so) is NOT picked up from root_v6_10_02_python3, but from root_v6_10_02 …

Now, to verify libPyROOT.so, simply do: ldd libPyROOT.so | grep python and you’ll see the python lib it is linked with.