I just installed ROOT version 5.34.05 in Ubuntu 12.04 32 bit. Root works perfectly but pyroot is not working
I did the following to install:
When I tried to import ROOT in python, I got the following errror:
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named ROOT
try ./configure linux --enable-python. Make sure that python appears in the list of enabled packages printed at the end of the configure process.
Well, “–enable-python” is the “default”.
If your ROOT did not find “python”, that usually means that the “python-dev” package is not installed (“sudo apt-get install python-dev”, then you need to “configure” and “make” your ROOT again FROM SCRATCH).
See the “Ubuntu 9, 10, 11 and 12” entry on the ROOT - Build Prerequisites web page.
See also: [url]Import ROOT error