While ROOT and pyroot work fine if I initialize them, however I cannot call ROOT from withing python session
Python 2.7.16 |Anaconda, Inc.| (default, Sep 24 2019, 16:55:38)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ROOT
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6
Any ideas ?
Please let us know the output of
root --version and
root-config --features. I’m not sure I understand what you mean by “initializing”, could you explain?
I am using root-12-04.
The config-features returns this list :
asimage astiff bonjour builtin_afterimage builtin_cfitsio builtin_davix builtin_fftw3 builtin_freetype builtin_ftgl builtin_gl2ps builtin_glew builtin_gsl builtin_llvm builtin_lzma builtin_lz4 builtin_openssl builtin_pcre builtin_tbb builtin_unuran builtin_xrootd cling cocoa cxx11 davix exceptions explicitlink fftw3 fitsio fortran gdml genvector http imt krb5 ldap libcxx macos_native mathmore memstat minuit2 opengl pch python roofit shared sqlite ssl table thread tmva unuran xml xrootd
The version number looks odd, is
root-12-04 the exact output of
Thanks! PyROOT received some substantial updates meanwhile which might have fixed the issue. Would it be possible for you to update to the latest ROOT 6.22?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.