pyROOT fails with python3

I cannot import ROOT in python3 after installing against Anaconda. Am I missing something obvious? Details follow:


From the master branch and a clean build directory, I install ROOT using python3 from Anaconda:

$ cmake -Dall=On -Dimt=On -DPYTHON_EXECUTABLE=/Users/michael/opt/anaconda3/bin/python3.7 -DPYTHON_INCLUDE_DIR=/Users/michael/opt/anaconda3/include/python3.7m/ -DPYTHON_LIBRARY=/Users/michael/opt/anaconda3/lib/libpython3.7m.dylib ../root/
$ make

You can find the output in the attached build.txt (862.4 KB).

Then, I try to import ROOT:

Python 3.7.4 (default, Aug 13 2019, 15:17:50) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.8.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import ROOT                                                                                                                                           
 *** Break *** segmentation violation
[/Applications/root_build/lib/libCore.so] TUnixSystem::DispatchSignals(ESignals) (no debug info)
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/usr/lib/dyld] dyld::gLinkContext (no debug info)
[/Users/michael/opt/anaconda3/lib/libpython3.7m.dylib] PyUnicode_InternFromString (no debug info)
[/Applications/root_build/lib/python3.7/libcppyy.so] CPyCppyy::CreatePyStrings() (no debug info)
[/Applications/root_build/lib/python3.7/libcppyy.so] PyInit_libcppyy (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyImport_LoadDynamicModuleWithSpec (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _imp_create_dynamic (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyMethodDef_RawFastCallDict (no debug info)
[/Users/michael/opt/anaconda3/bin/python] PyCFunction_Call (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyFunction_FastCallKeywords (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] object_vacall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyObject_CallMethodIdObjArgs (no debug info)
[/Users/michael/opt/anaconda3/bin/python] PyImport_ImportModuleLevelObject (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] builtin_exec (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyMethodDef_RawFastCallDict (no debug info)
[/Users/michael/opt/anaconda3/bin/python] PyCFunction_Call (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyFunction_FastCallKeywords (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] object_vacall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyObject_CallMethodIdObjArgs (no debug info)
[/Users/michael/opt/anaconda3/bin/python] PyImport_ImportModuleLevelObject (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] builtin_exec (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyMethodDef_RawFastCallDict (no debug info)
[/Users/michael/opt/anaconda3/bin/python] PyCFunction_Call (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyFunction_FastCallKeywords (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] object_vacall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyObject_CallMethodIdObjArgs (no debug info)
[/Users/michael/opt/anaconda3/bin/python] PyImport_ImportModuleLevelObject (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] builtin_exec (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyMethodDef_RawFastCallDict (no debug info)
[/Users/michael/opt/anaconda3/bin/python] PyCFunction_Call (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyFunction_FastCallKeywords (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] object_vacall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyObject_CallMethodIdObjArgs (no debug info)
[/Users/michael/opt/anaconda3/bin/python] PyImport_ImportModuleLevelObject (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] builtin_exec (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyMethodDef_RawFastCallKeywords (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] gen_send_ex (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] gen_send_ex (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] gen_send_ex (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyMethodDef_RawFastCallKeywords (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyMethodDescr_FastCallKeywords (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyFunction_FastCallKeywords (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
 *** Break *** segmentation violation
[/Applications/root_build/lib/libCore.so] TUnixSystem::DispatchSignals(ESignals) (no debug info)
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/usr/lib/dyld] dyld::gLinkContext (no debug info)
[/Users/michael/opt/anaconda3/lib/libpython3.7m.dylib] PyUnicode_InternFromString (no debug info)
[/Applications/root_build/lib/python3.7/libcppyy.so] CPyCppyy::CreatePyStrings() (no debug info)
[/Applications/root_build/lib/python3.7/libcppyy.so] PyInit_libcppyy (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyImport_LoadDynamicModuleWithSpec (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _imp_create_dynamic (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyMethodDef_RawFastCallDict (no debug info)
[/Users/michael/opt/anaconda3/bin/python] PyCFunction_Call (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyFunction_FastCallKeywords (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] object_vacall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyObject_CallMethodIdObjArgs (no debug info)
[/Users/michael/opt/anaconda3/bin/python] PyImport_ImportModuleLevelObject (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] builtin_exec (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyMethodDef_RawFastCallDict (no debug info)
[/Users/michael/opt/anaconda3/bin/python] PyCFunction_Call (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyFunction_FastCallKeywords (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] object_vacall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyObject_CallMethodIdObjArgs (no debug info)
[/Users/michael/opt/anaconda3/bin/python] PyImport_ImportModuleLevelObject (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] builtin_exec (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyMethodDef_RawFastCallDict (no debug info)
[/Users/michael/opt/anaconda3/bin/python] PyCFunction_Call (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyFunction_FastCallKeywords (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] object_vacall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyObject_CallMethodIdObjArgs (no debug info)
[/Users/michael/opt/anaconda3/bin/python] PyImport_ImportModuleLevelObject (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] builtin_exec (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyMethodDef_RawFastCallDict (no debug info)
[/Users/michael/opt/anaconda3/bin/python] PyCFunction_Call (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyFunction_FastCallKeywords (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] object_vacall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyObject_CallMethodIdObjArgs (no debug info)
[/Users/michael/opt/anaconda3/bin/python] PyImport_ImportModuleLevelObject (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] builtin_exec (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyMethodDef_RawFastCallKeywords (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] gen_send_ex (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] gen_send_ex (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] gen_send_ex (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyMethodDef_RawFastCallKeywords (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyMethodDescr_FastCallKeywords (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] function_code_fastcall (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyFunction_FastCallKeywords (no debug info)
[/Users/michael/opt/anaconda3/bin/python] call_function (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)
[/Users/michael/opt/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)


ROOT Version: master
Platform: macOS
Compiler: Not Provided


Hi,

What is the compiler you used to compile ROOT?

In the past we have had reports of PyROOT failing with Anaconda’s Python, and often the reason was that ROOT needs to be compiled with the same compiler Anaconda ships with.

I currently use the default on the master branch. I believe build.txt details it.

I confess I do not know much about choosing compilers. I got Anaconda from the binary–how would I check if your hypothesis is true?

Please check where the compiler in the Anaconda installation is, and then use the CMAKE_CXX_COMPILER option to tell CMake where it is:

https://root.cern.ch/building-root

and rebuild from scratch.

I’m afraid I’m not sure what you mean. What is “the compiler in the Anaconda installation”? The only documentation online does not seem to be what you describe.

FYI:

$ python
Python 3.7.4 (default, Aug 13 2019, 15:17:50) 
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 

Perhaps the easiest way to accomplish what you want (using PyROOT with anaconda) is to just install the conda ROOT package, here you will find some instructions:

The alternative (building ROOT from sources and using Anaconda) requires to use the same compiler that Conda used (e.g. the one used to build Conda’s Python) to build ROOT, because of ABI compatibility reasons. If you can’t find the compiler in your anaconda installation, I think you could use this:
https://anaconda.org/conda-forge/cxx-compiler

but I strongly recommend the first option I mentioned.

Do you know how to use/interpret this package? There is documentation on its installation and purpose but none on how to actually use it.

Moreover, my attempt at installation this way fails. This wouldn’t let me use the master branch of ROOT anyway, which is what I want.

You can see the output of my installation attempt in the attached file: condaInstall.txt (657.0 KB)

That’s right, the conda package does not have master, but it should have 6.20 soon if that is enough. In the installation, could it be that the ROOT package has conflicts with other packages you might have in your environment? you would probably need to start a clean environment?

As for the cxx-compiler package, I haven’t used it myself, I was just looking for a way for you to get compiler for you anaconda installation, since without it it won’t work.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.