[MacPorts] #58942: PyROOT cannot work under ROOTv6.18
MacPorts
noreply at macports.org
Fri Sep 6 14:50:58 UTC 2019
#58942: PyROOT cannot work under ROOTv6.18
---------------------------+--------------------
Reporter: yszhang95 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Keywords: root6, PyROOT | Port:
---------------------------+--------------------
When I used python to import ROOT, I have the following,
{{{
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
>>>
}}}
"It’s most likely a problem related to the fact that libraries and their
respective dictionaries must be in the same directory (a new requirement
since ROOT 6.18).", quoted from the link
https://root-forum.cern.ch/t/error-when-importing-root-in-python3/35881
Also, useful link from the link above,
https://root-forum.cern.ch/t/pyroot-at-lxplus/35393
Thanks.
--
Ticket URL: <https://trac.macports.org/ticket/58942>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list