ROOT Version: 6.10/08
Platform: Ubuntu 18
Can I use PyROOT with Python3 if I download the precompiled binaries? Or do I need to build it from source instead?
I tried with the binaries, but in python3 I get this error:
ImportError: dynamic module does not define module export function (PyInit_libPyROOT)
@etejedor can correct me if I’m wrong, but I don’t think we release binaries for python3 at the moment (i.e. the answer to the titular question is “not yet”).
It depends on the platform. In order to generate the binaries, we use whatever is in
So if you get that error on Ubuntu18, it means that the OS still has python2 as default and we build ROOT with that one.
Yes, all ubuntus have python2 as default afaict: https://packages.ubuntu.com/bionic/python
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.