Import ROOT not possible in Python

Hello,

I am new using python and root. I installed root and it works properly, but in python I am not able to import ROOT. Only importing pyroot is possible. I use Python version 3.10.6.

import ROOT
ModuleNotFoundError: No module named ‘ROOT’

Thank you for your help!

ROOT Version: ROOT 6.28/04

Dear @Maikerosd ,

It sounds like your ROOT installation is missing the Python bindings.

Make sure you strictly follow the installation instructions at Installing ROOT - ROOT

The simplest way is just via conda

Cheers,
Vincenzo

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