Root on macos mojave with python3

I have installed Root using the standard procedure

$ git clone

$ cmake ../root
$ make -j8

Root builds and functions fine. I have OYHTOPATH defined as 
(base) mac-133806:.spyder-py3 para$ echo $PYTHONPATH

a trivial python script:
from ROOT import TH1F

produces a long list of errors starting with:

 *** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[<unknown binary>] (no debug info)
[/Users/para/opt/anaconda3/lib/libpython3.7m.dylib] PyUnicode_InternFromString (no debug info)
[/Users/para/build/lib/] PyROOT::CreatePyStrings() (no debug info)
[/Users/para/build/lib/] PyInit_libPyROOT (no debug info)
[/Users/para/opt/anaconda3/bin/python] _PyImport_LoadDynamicModuleWithSpec (no debug info)
[/Users/para/opt/anaconda3/bin/python] _imp_create_dynamic (no debug info)

What am I missing? 
Thanks in advance..

ROOT Version:_ 6.19/01
_Platform: Macos Mojave

@etejedor Perhaps you can help?


This looks like a conflict with anaconda. In the past we have seen cases in which there are issues with PyROOT if you are using it with the anaconda Python, and you did not use the anaconda compiler to build ROOT.

I would check which Python you built ROOT against and use that one if possible.