Hi,
I installed my ROOT v06.08 using the anaconda3 python compiler (python v3.6.1). However I have 2 different issues.
Whenever I import ROOT in a python code, using:
from ROOT import *
I get a break segmentation issue related to this (got it through gdb):
Thread 1 “python” received signal SIGSEGV, Segmentation fault.
0x00007fffef8f4a7b in (anonymous namespace)::RootLookDictString (mp=0x7ffff7f48fc0, key=0x7fffefdec2f0, hash=4378576883871306534,
value_addr=0x7fffffffd9d0) at /home/lsantos/Downloads/root-6.08.06/bindings/pyroot/src/RootModule.cxx:259
259 if ( ! ep || (ep->me_key && ep->me_value) || gDictLookupActive )
On the other topic (I think they are not related), whenever I call PyROOT on Jupyter Notebook I get this error whatever the way I call ROOT:
ModuleNotFoundError Traceback (most recent call last)
in ()
----> 1 from ROOT import *
/home/lsantos/root6/lib/ROOT.py in ()
586 ip = get_ipython()
587 if hasattr(ip,“kernel”):
–> 588 import JupyROOT
589 import JsMVA
590
/home/lsantos/root6/lib/ROOT.py in _importhook(name, *args, **kwds)
301 except Exception:
302 pass
–> 303 return _orig_ihook( name, *args, **kwds )
304
305 builtin.import = _importhook
/home/lsantos/root6/lib/JupyROOT/init.py in ()
----> 1 import JupyROOT.utils
2
3 if ‘IPYTHON’ in builtins and IPYTHON:
4 utils.iPythonize()
/home/lsantos/root6/lib/ROOT.py in _importhook(name, *args, **kwds)
301 except Exception:
302 pass
–> 303 return _orig_ihook( name, *args, **kwds )
304
305 builtin.import = _importhook
/home/lsantos/root6/lib/JupyROOT/utils.py in ()
15 import re
16 import fnmatch
—> 17 import handlers
18 import time
19 from hashlib import sha1
/home/lsantos/root6/lib/ROOT.py in _importhook(name, *args, **kwds)
301 except Exception:
302 pass
–> 303 return _orig_ihook( name, *args, **kwds )
304
305 builtin.import = _importhook
ModuleNotFoundError: No module named ‘handlers’
Any help would be appreciated,
Cheers,
Lucas