Details
-
Bug
-
Resolution: Clarified
-
High
-
None
-
None
-
None
-
Linux: 4.5.7-202.fc23.x86_64
Compiler: gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6) built with -Dpython=ON -Dpython3=ON
Python 3.4.3
Description
Importing ROOT from Python 2 works as expected, but importing from Python 3 results in this error:
from ROOT import RooGaussian |
Traceback (most recent call last):
|
File "<stdin>", line 1, in <module> |
File "/opt/root-6/lib/ROOT.py", line 24, in <module> |
import cppyy |
File "/opt/root-6/lib/cppyy.py", line 60, in <module> |
import libPyROOT as _backend |
ImportError: dynamic module does not define init function (PyInit_libPyROOT) |