Do I have to rebuild ROOT and use the flags -Dpython=ON and -Dpython3=ON as described here?
-Dpython=ON
-Dpython3=ON