Installing root for using pyroot in Anaconda package

Hi. I have a trouble about installing the root with my new mac.
I installed the root from the git repository and Anaconda.
But I encountered the error when I import the ROOT in the python.
Root is working well.
Have you ever seen this errors and solve that?
user name is woodolee
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.

>>> import ROOT

Warning in < UnknownClass::ReadRootmapFile >: class TPyArg found in libPyROOT.so is already in libROOTTPython.so 

Warning in < UnknownClass::ReadRootmapFile >: class TPyReturn found in libPyROOT.so is already in libROOTTPython.so 

Warning in < UnknownClass::ReadRootmapFile >: class TPython found in libPyROOT.so is already in libROOTTPython.so 

 *** Break *** segmentation violation

[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)

[/usr/lib/system/libsystem_malloc.dylib] szone_size (no debug info)

[/Users/woodolee/anaconda3/lib/libpython3.7m.dylib] PyUnicode_InternFromString (no debug info)

[/usr/local/lib/libPyROOT.so] PyROOT::CreatePyStrings() (no debug info)

[/usr/local/lib/libPyROOT.so] PyInit_libPyROOT (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyImport_LoadDynamicModuleWithSpec (no debug info)

[/Users/woodolee/anaconda3/bin/python] _imp_create_dynamic (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyMethodDef_RawFastCallDict (no debug info)

[/Users/woodolee/anaconda3/bin/python] PyCFunction_Call (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyFunction_FastCallKeywords (no debug info)

[/Users/woodolee/anaconda3/bin/python] call_function (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] function_code_fastcall (no debug info)

[/Users/woodolee/anaconda3/bin/python] call_function (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] function_code_fastcall (no debug info)

[/Users/woodolee/anaconda3/bin/python] call_function (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] function_code_fastcall (no debug info)

[/Users/woodolee/anaconda3/bin/python] call_function (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] function_code_fastcall (no debug info)

[/Users/woodolee/anaconda3/bin/python] call_function (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] function_code_fastcall (no debug info)

[/Users/woodolee/anaconda3/bin/python] object_vacall (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyObject_CallMethodIdObjArgs (no debug info)

[/Users/woodolee/anaconda3/bin/python] PyImport_ImportModuleLevelObject (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)

[/Users/woodolee/anaconda3/bin/python] builtin_exec (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyMethodDef_RawFastCallDict (no debug info)

[/Users/woodolee/anaconda3/bin/python] PyCFunction_Call (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyFunction_FastCallKeywords (no debug info)

[/Users/woodolee/anaconda3/bin/python] call_function (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] function_code_fastcall (no debug info)

[/Users/woodolee/anaconda3/bin/python] call_function (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] function_code_fastcall (no debug info)

[/Users/woodolee/anaconda3/bin/python] call_function (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] function_code_fastcall (no debug info)

[/Users/woodolee/anaconda3/bin/python] call_function (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] function_code_fastcall (no debug info)

[/Users/woodolee/anaconda3/bin/python] object_vacall (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyObject_CallMethodIdObjArgs (no debug info)

[/Users/woodolee/anaconda3/bin/python] PyImport_ImportModuleLevelObject (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)

[/Users/woodolee/anaconda3/bin/python] builtin_exec (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyMethodDef_RawFastCallDict (no debug info)

[/Users/woodolee/anaconda3/bin/python] PyCFunction_Call (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyFunction_FastCallKeywords (no debug info)

[/Users/woodolee/anaconda3/bin/python] call_function (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] function_code_fastcall (no debug info)

[/Users/woodolee/anaconda3/bin/python] call_function (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] function_code_fastcall (no debug info)

[/Users/woodolee/anaconda3/bin/python] call_function (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] function_code_fastcall (no debug info)

[/Users/woodolee/anaconda3/bin/python] call_function (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] function_code_fastcall (no debug info)

[/Users/woodolee/anaconda3/bin/python] object_vacall (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyObject_CallMethodIdObjArgs (no debug info)

[/Users/woodolee/anaconda3/bin/python] PyImport_ImportModuleLevelObject (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalFrameDefault (no debug info)

[/Users/woodolee/anaconda3/bin/python] _PyEval_EvalCodeWithName (no debug info)

[/Users/woodolee/anaconda3/bin/python] PyRun_InteractiveOneObjectEx (no debug info)

[/Users/woodolee/anaconda3/bin/python] PyRun_InteractiveLoopFlags (no debug info)

[/Users/woodolee/anaconda3/bin/python] PyRun_AnyFileExFlags (no debug info)

[/Users/woodolee/anaconda3/bin/python] pymain_main (no debug info)

[/Users/woodolee/anaconda3/bin/python] main (no debug info)

[/usr/lib/system/libdyld.dylib] start (no debug info)


Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: mac os 10.15.2
Compiler: apple clang ? not sure default complier in the mac

It seems that ROOT was install without using the python from anaconda. First setup anaconda python, then install ROOT. Make sure it picks up the python from anaconda.

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