How Update root-config python version?

Hi, i am using ROOT and python in a jupyter notebook, but when I try to import ROOT that show the mistake “Failed to import libcppyy3_9. Please check that ROOT has been built for Python 3.9”.

I see the version of python in root-config and show the version 3.8.5.

So, Can I update python without unistalling root again?

_ROOT Version: 6.22/06


The problem is indeed that ROOT was built for Python3.8 but you are running it with Python3.9. Is Python3.8 installed in your system? Perhaps the easiest in your case is to install Python3.8 if it’s not already there.

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