Dear PyROOT support,
I am trying to use PyROOT (Root 5.34) with Python 3.2.5.
The installation seems successfull (ROOT installation ok), but when I try to import ROOT, this is what I get:
(Py3.2_ENV)[root@ice Py3.2_ENV]# python
Python 3.2.5 (default, Jun 17 2013, 20:19:10)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
import ROOT
Traceback (most recent call last):
File “”, line 1, in
File “/LOCAL_GTB/Python3.2/Py3.2_ENV/root5.34/lib/root/ROOT.py”, line 100, in
import libPyROOT as _root
ImportError: dynamic module does not define init function (PyInit_libPyROOT)
My configuration:
./configure --prefix=/LOCAL_GTB/Python3.2/Py3.2_ENV/root5.34/ --enable-fftw3 --enable-fitsio --enable-gsl-shared --enable-mysql --enable-python --enable-soversion --with-fftw3-incdir=/LOCAL_GTB/fftw3.3.3/include --with-fftw3-libdir=/LOCAL_GTB/fftw3.3.3/lib --with-python-incdir=/LOCAL_GTB/Python3.2/include/python3.2 --with-python-libdir=/LOCAL_GTB/Python3.2/lib/ --disable-ssl
I am using virtualenv to install PyROOT for multiple Python versions: I did the same for Python 2.7 and everything works.
Could you please help me to figure out what I am missing?
Thanks a lot,
Valentina