ROOT 6.06.02 and pyroot

The installation of ROOT 6.06.02 on Ubuntu 15.10 and 16.04 was successful and I tested the installation with a few example from the user guide. I also can run jupyther --notebooks (starts with some warnings though).
However, there seems to be an issue with python. I can use python from within ROOT as per example (and after correction typo in documentation from Exec(“print1+1”); to Exec("print(1+1)*):

root[] gSystem->Load( "libPyROOT" ); root[] TPython::Exec("print1+1"); 2

But trying to import ROOT from python command line fails:

[code]$python
Python 2.7.11+ (default, Apr 17 2016, 14:00:29)
[GCC 5.3.1 20160413] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.

import ROOT
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named ROOT
[/code]

Also, trying to install rootpy with pip gives me:

[code]pip install rootpy
Collecting rootpy
Downloading rootpy-0.8.1.tar.gz (416kB)
100% |████████████████████████████████| 419kB 1.6MB/s
Complete output from command python setup.py egg_info:
ROOT cannot be imported. Is ROOT installed with PyROOT enabled?

----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-s4n4j0u2/rootpy/[/code]

So, the obvious question is, is rootpy support enabled by default? I thought it was as per build documentation:

python 	ON 	Python ROOT bindings, requires python >= 2.2

Or maybe there is another issue?

Hi,

The issue seems to be the error

ImportError: No module named ROOT

Did you set up the PATH to ROOT before (. wherever-ROOT-is/bin/thisroot.sh)? Otherwise PyROOT will not be found.

Cheers, Axel.

That fixed it, thanks, Axel.