Installing Pyroot on UBUNTU 12.04 32 bit

Hi,
I just installed ROOT version 5.34.05 in Ubuntu 12.04 32 bit. Root works perfectly :smiley: but pyroot is not working :frowning:

I did the following to install:
./configure linux
make

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

Please help.

Cheers,
Chilufya.

Dear Chilufya,

try ./configure linux --enable-python. Make sure that python appears in the list of enabled packages printed at the end of the configure process.

Regards,
e_dude

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