Error while trying to execute python scripts with ROOT

Hello everyone, i have a problem related to running pyroot. I cannot run python scripts either from the terminal or jupyter notebook. The error i get is the following:
Failed to import libcppyy3_10. Please check that ROOT has been built for Python 3.10

I have checked some related posts and it seems to me that i have to build root again with different specifications. However, since i am quite a newbie in root and linux as well and i don’t really understand what i should do. As a result, i would really appreciate some guidance on how i should build root to resolve this problem.

*PS. I checked the python and the root cofiguration python version and they are the same.

ROOT Version: v6-26-10
Platform: Ubuntu 22.04
Python version: 3.10.6

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.