Dear experts,
I installed ROOT from MacPorts, by sudo port install root6
. And when I use python to import the ROOT library, I have the following errors/warnings:
Python 3.7.4 (default, Jul 11 2019, 01:08:00)
[Clang 10.0.1 (clang-1001.0.46.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ROOT
Error in <TCling::RegisterModule>: cannot find dictionary module libPyROOT_rdict.pcm
>>>
or
Python 2.7.16 (default, Apr 1 2019, 14:50:41)
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ROOT
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named ROOT
>>>
Pythons are installed from MacPorts as well.
Is there any way to fix them?
Many thanks in advance.
_ROOT Version: 6.18
_Platform: macOS mojave, v10.14.6
Compiler: Not Provided