ROOT module not found: Python3

ROOT Version: 6.20.04 source
Platform: WSL Ubuntu 20.04
CMake version: 3.16.3
Python3 version: 3.8.2
Python version: 2.7.18

Hello -

I have been pulling my hair out the last few days trying to successfully install ROOT/PyROOT with Python3 and I was hoping someone could help. I am very new to the terminal, so please forgive my ignorance. I am able to successfully build and run ROOT in c++, however when I check “root-config --has-python” I get “no”. I am also unable to “import ROOT” in my Python3 scripts. Please note that I am looking to write in Python3, and I have no need for Python2 compatabilitiy.

Below are the steps I took, please let me know if I can provide more information:

  • I installed the source file and all required and optional prerequisite packages. I received the following message when installing the optional packages:

Note, selecting ‘libglu1-mesa-dev’ instead of ‘xlibmesa-glu-dev’
Note, selecting ‘libglew-dev’ instead of ‘libglew1.5-dev’
Note, selecting ‘libgraphviz-dev’ instead of ‘graphviz-dev’
Note, selecting ‘python-dev-is-python2’ instead of ‘python-dev’
Note, selecting ‘libgsl-dev’ instead of ‘libgsl0-dev’
Package libqt4-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

  • Per a suggestion on another post here I also installed python3-dev

  • After tarring the source file, I cmake with:

cmake …/root-6.20.04/ -DPYTHON=ON -Dpyroot=ON -Dpyroot_experimental=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYTHON_INCLUDE_DIR=/usr/include/python3.8m -DPYTHON=/usr/lib/x86_64-linux-gnu/libpython3.8m.so.1

– The C compiler identification is GNU 9.3.0
– The CXX compiler identification is GNU 9.3.0
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Found Git: /usr/bin/git (found version “2.25.1”)
Looking for python
– Preferring Python version 3
– Found Python: /usr/bin/python3 (found version “3.8.2”) found components: Interpreter Development
– ROOT default compression algorithm: zlib
– Found GCC. Major version 9, minor version 3
– Looking for pthread.h
– Looking for pthread.h - found
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
– Looking for pthread_create in pthreads
– Looking for pthread_create in pthreads - not found
– Looking for pthread_create in pthread
– Looking for pthread_create in pthread - found
– Found Threads: TRUE
– Found a 64bit system
– Found GNU compiler collection
– Performing Test GLIBCXX_USE_CXX11_ABI
– Performing Test GLIBCXX_USE_CXX11_ABI - Success
– ROOT Platform: linux
– ROOT Architecture: linuxx8664gcc
– Build Type: Release (flags = ‘-O3 -DNDEBUG’)
– Compiler Flags: -O3 -DNDEBUG -std=c++11 -Wno-implicit-fallthrough -Wno-noexcept-type -pipe -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -pthread
– Looking for ZLib
– Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version “1.2.11”)
– Looking for Freetype
– Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version “2.10.1”)
– Looking for PCRE
– Could NOT find PCRE (missing: PCRE_INCLUDE_DIR PCRE_PCRE_LIBRARY)
– PCRE not found. Switching on builtin_pcre option
– Looking for LZMA
– Could NOT find LibLZMA (missing: LIBLZMA_LIBRARY LIBLZMA_INCLUDE_DIR LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET)
– LZMA not found. Switching on builtin_lzma option
– Building LZMA version 5.2.4 included in ROOT itself
– Looking for ZSTD
– Could NOT find ZSTD (missing: ZSTD_LIBRARIES ZSTD_INCLUDE_DIR ZSTD_VERSION)
– ZSTD not found. Switching on builtin_zstd option
– Performing Test CXX_FLAG_STD_CPLUSPLUS11
– Performing Test CXX_FLAG_STD_CPLUSPLUS11 - Success
– Performing Test C_FLAG_STD_C99
– Performing Test C_FLAG_STD_C99 - Success
– Performing Test C_FLAG_WALL
– Performing Test C_FLAG_WALL - Success
– Performing Test CXX_FLAG_WALL
– Performing Test CXX_FLAG_WALL - Success
– Performing Test C_FLAG_WEXTRA
– Performing Test C_FLAG_WEXTRA - Success
– Performing Test CXX_FLAG_WEXTRA
– Performing Test CXX_FLAG_WEXTRA - Success
– Performing Test C_FLAG_WUNDEF
– Performing Test C_FLAG_WUNDEF - Success
– Performing Test CXX_FLAG_WUNDEF
– Performing Test CXX_FLAG_WUNDEF - Success
– Performing Test C_FLAG_WSHADOW
– Performing Test C_FLAG_WSHADOW - Success
– Performing Test CXX_FLAG_WSHADOW
– Performing Test CXX_FLAG_WSHADOW - Success
– Performing Test C_FLAG_WCAST_ALIGN
– Performing Test C_FLAG_WCAST_ALIGN - Success
– Performing Test CXX_FLAG_WCAST_ALIGN
– Performing Test CXX_FLAG_WCAST_ALIGN - Success
– Performing Test C_FLAG_WCAST_QUAL
– Performing Test C_FLAG_WCAST_QUAL - Success
– Performing Test CXX_FLAG_WCAST_QUAL
– Performing Test CXX_FLAG_WCAST_QUAL - Success
– Performing Test C_FLAG_WSTRICT_PROTOTYPES
– Performing Test C_FLAG_WSTRICT_PROTOTYPES - Success
– Looking for xxHash
– Could NOT find xxHash (missing: xxHash_LIBRARY xxHash_INCLUDE_DIR)
– xxHash not found. Switching on builtin_xxhash option
– Looking for LZ4
– Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR)
– LZ4 not found. Switching on builtin_lz4 option
– Looking for X11
– Found X11: /usr/include
– Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
– Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
– Looking for gethostbyname
– Looking for gethostbyname - found
– Looking for connect
– Looking for connect - found
– Looking for remove
– Looking for remove - found
– Looking for shmat
– Looking for shmat - found
– X11_INCLUDE_DIR: /usr/include
– X11_LIBRARIES: /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
– X11_Xpm_INCLUDE_PATH: /usr/include
– X11_Xpm_LIB: /usr/lib/x86_64-linux-gnu/libXpm.so
– X11_Xft_INCLUDE_PATH: /usr/include
– X11_Xft_LIB: /usr/lib/x86_64-linux-gnu/libXft.so
– X11_Xext_INCLUDE_PATH: /usr/include
– X11_Xext_LIB: /usr/lib/x86_64-linux-gnu/libXext.so
– Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
– Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
– Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version “1.6.37”)
– Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
– Looking for AfterImage
– Could NOT find AfterImage (missing: AFTERIMAGE_INCLUDE_DIR AFTERIMAGE_LIBRARIES)
– AfterImage not found. Switching on builtin_afterimage option
– Building AfterImage library included in ROOT itself
– Looking for GSL
– Found PkgConfig: /usr/bin/pkg-config (found version “0.29.1”)
– Could NOT find GSL: Found unsuitable version “”, but required is at least “1.10” (found GSL_INCLUDE_DIR-NOTFOUND)
– GSL not found. Set variable GSL_ROOT_DIR to point to your GSL installation
– Alternatively, you can also enable the option ‘builtin_gsl’ to build the GSL libraries internally’
– For the time being switching OFF ‘mathmore’ option
– Looking for OpenGL
– Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)
– OpenGL (with GLU) not found. Switching off opengl option
– Looking for LibXml2
– Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
– LibXml2 not found. Switching off xml option
– Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
– OpenSSL not found, switching ON ‘builtin_openssl’ option.
– Found OpenSSL: /home/matthewlee4123/Products/root/builtins/openssl/OPENSSL-prefix/include (found version “1.0.2s”)
– Looking for MySQL
– Could NOT find MYSQL (missing: MYSQL_INCLUDE_DIR MYSQL_LIBRARIES)
– MySQL not found. Switching off mysql option
– Looking for Oracle
– Oracle not found.
– Oracle: You can specify includes: -DORACLE_PATH_INCLUDES=/usr/include/oracle/10.2.0.3/client
– currently found includes:
– Oracle: You can specify libs: -DORACLE_PATH_LIB=/usr/lib/oracle/10.2.0.3/client/lib
– currently found libs: ORACLE_LIBRARY_OCCI-NOTFOUND;ORACLE_LIBRARY_CLNTSH-NOTFOUND;ORACLE_LIBRARY_LNNZ-NOTFOUND
– Oracle not found. Switching off oracle option
– Looking for PostgreSQL
– Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR)
– PostgreSQL not found. Switching off pgsql option
– Looking for SQLite
– Could NOT find Sqlite (missing: SQLITE_INCLUDE_DIR SQLITE_LIBRARIES)
– SQLite not found. Switching off sqlite option
– Looking for Pythia6
– Pythia6 not found. Switching off pythia6 option
– Looking for Pythia8
– Could NOT find Pythia8 (missing: PYTHIA8_INCLUDE_DIR PYTHIA8_LIBRARY)
– Pythia8 not found. Switching off pythia8 option
– Looking for FFTW3
– FFTW3 not found. Set [environment] variable FFTW_DIR to point to your FFTW3 installation
– Alternatively, you can also enable the option ‘builtin_fftw3’ to build FFTW3 internally’
– For the time being switching OFF ‘fftw3’ option
– Looking for CFITSIO
– Could NOT find CFITSIO (missing: CFITSIO_LIBRARY CFITSIO_INCLUDE_DIR)
– CFITSIO not found. You can enable the option ‘builtin_cfitsio’ to build the library internally’
– For the time being switching off ‘fitsio’ option
– Looking for XROOTD
– XROOTD not found. Set environment variable XRDSYS to point to your XROOTD installation
– Alternatively, you can also enable the option ‘builtin_xrootd’ to build XROOTD internally
– For the time being switching OFF ‘xrootd’ option
– Could NOT find GFAL (missing: GFAL_INCLUDE_DIR SRM_IFCE_INCLUDE_DIR GFAL_LIBRARY)
– GFAL library not found. Set variable GFAL_DIR to point to your gfal installation
and the variable SRM_IFCE_DIR to the srm_ifce installation
– For the time being switching OFF ‘gfal’ option
– Checking for module ‘davix>=0.6.4’
– No package ‘davix’ found
– Looking for uuid_generate_random in uuid
– Looking for uuid_generate_random in uuid - found
– Found uuid: /usr/include
– Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
– Davix dependencies not found, switching OFF ‘davix’ option.
– Looking for TBB
– Could NOT find TBB (missing: TBB_ROOT_DIR TBB_INCLUDE_DIR TBB_LIBRARY) (Required is at least version “2018”)
– TBB not found, enabling ‘builtin_tbb’ option
– Performing Test CXX_HAS_mno_rtm
– Performing Test CXX_HAS_mno_rtm - Success
– Looking for VDT
– Could NOT find Vdt (missing: VDT_INCLUDE_DIR VDT_LIBRARY) (Required is at least version “0.4”)
– VDT not found. Ensure that the installation of VDT is in the CMAKE_PREFIX_PATH
– Switching ON ‘builtin_vdt’ option
– Cannot select cudnn without selecting cuda or tmva-gpu. Option is ignored
– Looking for BLAS for optional parts of TMVA
– Looking for sgemm_
– Looking for sgemm_ - not found
– Could NOT find BLAS (missing: BLAS_LIBRARIES)
– Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB
– Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
– Building LLVM in ‘Release’ mode.
– The ASM compiler identification is GNU
– Found assembler: /usr/bin/cc
– Looking for backtrace
– Looking for backtrace - found
– backtrace facility detected in default set of libraries
– Found Backtrace: /usr/include
– Native target architecture is X86
– Threads disabled.
– Doxygen disabled.
– Go bindings disabled.
– LLVM host triple: x86_64-unknown-linux-gnu
– LLVM default target triple: x86_64-unknown-linux-gnu
– Building with -fPIC
– Found PythonInterp: /usr/bin/python3 (found version “3.8.2”)
– Constructing LLVMBuild project information
– Linker detection: GNU ld
– SysLibs: rt;dl;-lpthread;/usr/lib/x86_64-linux-gnu/libz.so
– Targeting X86
– Targeting NVPTX
– Clang version: 5.0.0
– Cling version (from VERSION file): ROOT_0.7~dev
– Cling will look for C++ headers in ‘/usr/include/c++/9:/usr/include/x86_64-linux-gnu/c++/9:/usr/include/c++/9/backward’ at runtime.
– And then fallback to: ‘x86_64-linux-gnu-g+±9’
– Performing Test CXX_HAS_Wno_maybe_uninitialized
– Performing Test CXX_HAS_Wno_maybe_uninitialized - Success
– Performing Test __result
– Performing Test __result - Success
– Performing Test CXX_HAS_fno_rtti
– Performing Test CXX_HAS_fno_rtti - Success
– Performing Test C_HAS_Wno_strict_overflow
– Performing Test C_HAS_Wno_strict_overflow - Success
– Performing Test C_HAS_Wno_maybe_uninitialized
– Performing Test C_HAS_Wno_maybe_uninitialized - Success
– Performing Test C_HAS_Wno_parentheses_equality
– Performing Test C_HAS_Wno_parentheses_equality - Success
– Looking for m
– Looking for m - not found
– Performing Test found_setresuid
– Performing Test found_setresuid - Success
– Performing Test found_stdstringview
– Performing Test found_stdstringview - Failed
– Performing Test found_stdexpstringview
– Performing Test found_stdexpstringview - Failed
– Performing Test found_stdapply
– Performing Test found_stdapply - Failed
– Performing Test found_stdinvoke
– Performing Test found_stdinvoke - Failed
– Performing Test found_stdindexsequence
– Performing Test found_stdindexsequence - Failed
– Performing Test found_attribute_always_inline
– Performing Test found_attribute_always_inline - Success
– Performing Test has_found_attribute_noinline
– Performing Test has_found_attribute_noinline - Success
Running /home/matthewlee4123/Products/root-6.20.04/build/unix/compiledata.sh
Making /home/matthewlee4123/Products/root/include/compiledata.h
– Enabled support for: asimage builtin_afterimage builtin_clang builtin_llvm builtin_lz4 builtin_lzma builtin_openssl builtin_pcre builtin_tbb builtin_vdt builtin_xxhash builtin_zstd clad dataframe exceptions gdml http imt mlp pyroot pyroot_experimental roofit runtime_cxxmodules shared ssl tmva tmva-pymva spectrum vdt x11
– Configuring done
– Generating done
– Build files have been written to: /home/matthewlee4123/Products/root

  • Here I noticed that I seemed to successfully point ROOT to Python3 and not Python2. I know certain things have failed to be built/found, I am unsure if these are critical or just options.

  • At this point I check “root-config --has-python” and “root-config --has-python3” and I receive “no”

  • In my ROOT config file it shows:

BUILDPYTHON := yes
252 PYTHONLIBDIR :=
253 PYTHONLIB :=
254 PYTHONINCDIR := $(filter-out /usr/include, /usr/include/python3.8m)
255 PYTHONLIBFLAGS :=
256 PYTHONEXE :=

  • After building root, I still have “root-config --has-python” and “root-config --has-python3” giving “no”

  • I now notice that /root/lib/libPyROOT.so does not exist. However, I do not know why or how I can rebuild it correctly.

Please let me know if you have any suggestions!

Thank you.

I assume root-config --features shows “pyroot” (and possibly “pyroot_experimental”) so everything is fine. I guess they are enabled for “python3”.
You can also explicitly try “root-config --has-pyroot” (and “root-config --has-pyroot_experimental”) if you like.

BW. Try also e.g. root-config --has-python3-feature-check-any-meaning

Thank you for your reply!

Yes, it does show pyroot and pyroot_experimental. However, I cannot find the libPyROOT.so file in my /root/lib directory so Python scripts give the error “ModuleNotFoundError: No module named ‘ROOT’” since my PythonPATH points to root/lib/.

I did try root-config --has-python3-feature-any-meaning and got back “no”

What do you get from:
root-config --prefix
root-config --libdir
root-config --cflags

root-config --prefix -> /home/matthewlee4123/Products/root
root-config --libdir -> /home/matthewlee4123/Products/root/lib
root-config --cflags -> -pthread -std=c++11 -m64 -I/home/matthewlee4123/Products/root/include

root-config --features

>total 384412
drwxrwxrwx 1 matthewlee4123 matthewlee4123      512 May 14 23:13 .
drwxrwxrwx 1 matthewlee4123 matthewlee4123      512 May 14 20:26 ..
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   497348 May 14 20:43 ASImage.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   457580 May 14 20:52 ASImageGui.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123    91132 May 14 20:27 Cling_Runtime.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   203092 May 14 20:27 Cling_Runtime_Extra.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  8817620 May 14 20:27 Core.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   596692 May 14 20:46 EG.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   659864 May 14 20:53 FitPanel.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   523172 May 14 20:41 Foam.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   472540 May 14 20:42 Fumili.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   483336 May 14 20:33 GX11.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   445696 May 14 20:43 GX11TTF.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  1130312 May 14 20:41 Gdml.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   971064 May 14 20:52 Ged.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  2816268 May 14 20:36 GenVector.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   501600 May 14 21:02 Genetic.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  3050028 May 14 20:35 Geom.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   880388 May 14 20:55 GeomBuilder.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   530104 May 14 20:46 GeomPainter.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   862808 May 14 20:42 Gpad.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  1018196 May 14 20:41 Graf.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   853544 May 14 20:44 Graf3d.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  3298164 May 14 20:44 Gui.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   572540 May 14 20:53 GuiBld.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   620336 May 14 20:53 GuiHtml.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  4534412 May 14 20:37 Hist.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   562800 May 14 20:44 HistPainter.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  1597856 May 14 20:43 Html.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   809508 May 14 20:29 Imt.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   497048 May 14 20:50 MLP.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  7480672 May 14 20:32 MathCore.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  1536256 May 14 20:35 Matrix.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   564404 May 14 20:42 Minuit.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  1135028 May 14 20:34 MultiProc.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  1103120 May 14 20:32 Net.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   744244 May 14 20:38 Physics.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   566124 May 14 20:42 Postscript.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  1520792 May 14 20:38 Proof.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   577828 May 14 20:44 ProofBench.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   942388 May 14 20:51 ProofDraw.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   784928 May 14 20:41 ProofPlayer.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   613072 May 14 20:38 Quadp.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   421348 May 14 20:35 RCsg.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  1241656 May 14 20:33 RHTTP.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   433200 May 14 20:44 RHTTPSniff.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  2512272 May 14 20:29 RIO.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123 11930296 May 14 20:51 ROOTDataFrame.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   447704 May 14 20:33 ROOTTPython.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  2781176 May 14 20:32 ROOTVecOps.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   122308 May 14 20:27 ROOT_Config.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   300452 May 14 20:27 ROOT_Foundation_C.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   581844 May 14 20:27 ROOT_Foundation_Stage1_NoRTTI.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123    98020 May 14 20:27 ROOT_Rtypes.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   570488 May 14 20:53 Recorder.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   461500 May 14 20:28 Rint.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123 13382880 May 14 20:56 RooFit.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123 15393476 May 14 20:44 RooFitCore.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  3580160 May 14 21:00 RooStats.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   499464 May 14 20:35 RootAuth.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   442220 May 14 20:50 SPlot.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   651624 May 14 20:35 SQLIO.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   679672 May 14 20:53 SessionViewer.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  2833772 May 14 20:36 Smatrix.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   586412 May 14 20:41 Spectrum.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   457896 May 14 20:42 SpectrumPainter.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123 16832324 May 14 20:53 TMVA.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   616044 May 14 21:02 TMVAGui.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  1634184 May 14 20:28 Thread.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  2512228 May 14 20:34 Tree.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  3762640 May 14 20:46 TreePlayer.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   710924 May 14 20:55 TreeViewer.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   461288 May 14 20:52 X3d.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  1027324 May 14 20:32 XMLIO.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  4142008 May 14 20:27 _Builtin_intrinsics.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123    42760 May 14 20:27 _Builtin_stddef_max_align_t.pcm
drwxrwxrwx 1 matthewlee4123 matthewlee4123      512 May 14 19:09 cmake
-rw-rw-r-- 1 matthewlee4123 matthewlee4123    53001 May 14 19:09 cmdLineUtils.py
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  1110064 May 14 20:43 libASImage.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   465464 May 14 20:53 libASImageGui.so
-rwxr-xr-x 1 matthewlee4123 matthewlee4123  1190018 May 14 19:23 libAfterImage.a
-rwxrwxrwx 1 matthewlee4123 matthewlee4123 63449280 May 14 20:27 libCling.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  6876504 May 14 20:28 libCore.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   303648 May 14 20:50 libEG.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   448672 May 14 20:54 libFitPanel.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   201776 May 14 20:41 libFoam.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   168512 May 14 20:43 libFumili.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   252320 May 14 20:34 libGX11.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   122040 May 14 20:43 libGX11TTF.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   462592 May 14 20:42 libGdml.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  1557712 May 14 20:55 libGed.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   840680 May 14 20:37 libGenVector.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123     5013 May 14 20:35 libGenVector32.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   136184 May 14 21:03 libGenetic.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  2903064 May 14 20:38 libGeom.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  1301048 May 14 20:57 libGeomBuilder.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   313912 May 14 20:50 libGeomPainter.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  1074480 May 14 20:44 libGpad.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  1733936 May 14 20:42 libGraf.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   889080 May 14 20:46 libGraf3d.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  5694704 May 14 20:52 libGui.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   684864 May 14 20:54 libGuiBld.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   437960 May 14 20:55 libGuiHtml.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  5110040 May 14 20:41 libHist.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   760488 May 14 20:45 libHistPainter.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   711720 May 14 20:44 libHtml.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   100640 May 14 20:29 libImt.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   305184 May 14 20:51 libMLP.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  2709712 May 14 20:35 libMathCore.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  1892272 May 14 20:37 libMatrix.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   569104 May 14 20:43 libMinuit.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123    71976 May 14 20:35 libMultiProc.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  3860216 May 14 20:34 libNet.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123    32408 May 14 20:28 libNew.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   390064 May 14 20:39 libPhysics.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   572344 May 14 20:43 libPostscript.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  1924752 May 14 20:40 libProof.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   394392 May 14 20:45 libProofBench.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   326616 May 14 20:52 libProofDraw.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   983256 May 14 20:42 libProofPlayer.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   491200 May 14 20:39 libQuadp.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   163520 May 14 20:36 libRCsg.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  3481000 May 14 20:34 libRHTTP.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123    85536 May 14 20:45 libRHTTPSniff.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  4546600 May 14 20:32 libRIO.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  1031904 May 14 20:53 libROOTDataFrame.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   108136 May 14 20:34 libROOTTPython.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  1113504 May 14 20:33 libROOTVecOps.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   294240 May 14 20:55 libRecorder.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   225792 May 14 20:29 libRint.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  3734976 May 14 21:00 libRooFit.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  8296752 May 14 20:55 libRooFitCore.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  2282080 May 14 21:03 libRooStats.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   263016 May 14 20:35 libRootAuth.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   109216 May 14 20:51 libSPlot.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   517992 May 14 20:35 libSQLIO.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   746624 May 14 20:55 libSessionViewer.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   672048 May 14 20:36 libSmatrix.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123     1807 May 14 20:35 libSmatrix32.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   510672 May 14 20:42 libSpectrum.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   307968 May 14 20:43 libSpectrumPainter.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   155824 May 14 20:35 libSrvAuth.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  7795352 May 14 21:02 libTMVA.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   513096 May 14 21:03 libTMVAGui.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   470736 May 14 20:29 libThread.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  1968472 May 14 20:38 libTree.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  2070296 May 14 20:49 libTreePlayer.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   826064 May 14 20:56 libTreeViewer.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   179832 May 14 20:53 libX3d.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   496488 May 14 20:33 libXMLIO.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123  1971656 May 14 20:27 libc.pcm
-rw-rw-rw- 1 matthewlee4123 matthewlee4123      330 May 14 20:28 libcomplexDict.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123    41120 May 14 20:28 libcomplexDict.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123      189 May 14 20:28 libdequeDict.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123    93208 May 14 20:28 libdequeDict.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123      265 May 14 20:28 libforward_listDict.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123    79912 May 14 20:28 libforward_listDict.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123      230 May 14 20:28 liblistDict.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123    80112 May 14 20:29 liblistDict.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   213774 May 14 19:23 liblz4.a
-rw-r--r-- 1 matthewlee4123 matthewlee4123   381316 May 14 19:13 liblzma.a
-rwxr-xr-x 1 matthewlee4123 matthewlee4123      911 May 14 19:13 liblzma.la
-rw-rw-rw- 1 matthewlee4123 matthewlee4123      367 May 14 20:28 libmap2Dict.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   128440 May 14 20:28 libmap2Dict.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123      802 May 14 20:28 libmapDict.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   143832 May 14 20:29 libmapDict.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   538526 May 14 19:26 libmathtext.a
-rw-rw-rw- 1 matthewlee4123 matthewlee4123      357 May 14 20:28 libmultimap2Dict.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   105888 May 14 20:29 libmultimap2Dict.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123      648 May 14 20:28 libmultimapDict.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   109416 May 14 20:29 libmultimapDict.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123      233 May 14 20:28 libmultisetDict.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123    80944 May 14 20:29 libmultisetDict.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   199266 May 14 19:26 librpdutil.a
-rw-rw-rw- 1 matthewlee4123 matthewlee4123    34772 May 14 19:20 librsa.a
-rw-rw-rw- 1 matthewlee4123 matthewlee4123      193 May 14 20:28 libsetDict.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123    84080 May 14 20:29 libsetDict.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123       20 May 14 19:23 libtbb.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  3740864 May 14 19:23 libtbb.so.2
-rw-rw-rw- 1 matthewlee4123 matthewlee4123       26 May 14 19:23 libtbbmalloc.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123  1047184 May 14 19:23 libtbbmalloc.so.2
-rw-rw-rw- 1 matthewlee4123 matthewlee4123       32 May 14 19:23 libtbbmalloc_proxy.so
-rwxrwxrwx 1 matthewlee4123 matthewlee4123    67328 May 14 19:23 libtbbmalloc_proxy.so.2
-rw-rw-rw- 1 matthewlee4123 matthewlee4123     1376 May 14 20:28 libunordered_mapDict.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   273488 May 14 20:29 libunordered_mapDict.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123     1232 May 14 20:28 libunordered_multimapDict.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   255304 May 14 20:29 libunordered_multimapDict.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123      313 May 14 20:28 libunordered_multisetDict.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   109608 May 14 20:29 libunordered_multisetDict.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123      273 May 14 20:28 libunordered_setDict.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123    92304 May 14 20:29 libunordered_setDict.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123      166 May 14 20:28 libvalarrayDict.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123    31992 May 14 20:29 libvalarrayDict.so
-rw-r--r-- 1 matthewlee4123 matthewlee4123    44512 May 14 19:10 libvdt.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123      427 May 14 20:28 libvectorDict.rootmap
-rwxrwxrwx 1 matthewlee4123 matthewlee4123   144064 May 14 20:29 libvectorDict.so
-rw-rw-rw- 1 matthewlee4123 matthewlee4123     8070 May 14 19:10 libxxhash.a
-rw-rw-rw- 1 matthewlee4123 matthewlee4123   822482 May 14 19:11 libzstd.a
drwxrwxrwx 1 matthewlee4123 matthewlee4123      512 May 14 19:13 pkgconfig
drwxrwxrwx 1 matthewlee4123 matthewlee4123      512 May 14 20:39 python3.8
-rw-rw-rw- 1 matthewlee4123 matthewlee4123 17358568 May 14 20:27 std.pcm

Just to make sure … root-config --features

cxx11 asimage builtin_afterimage builtin_clang builtin_llvm builtin_lz4 builtin_lzma builtin_openssl builtin_pcre builtin_tbb builtin_vdt builtin_xxhash builtin_zstd clad dataframe exceptions gdml http imt mlp pyroot pyroot_experimental roofit runtime_cxxmodules shared ssl tmva tmva-pymva spectrum vdt x11

It seems to me that the building of ROOT died somewhere in the middle.
Try to restart it: “cd your_build_dir” and then: “make > make.out.txt 2>&1” (then inspect the newly crated “make.out.txt” file).

The make.out.txt file is over 400 lines, but each line begins with ‘[XX%] Built Target …’

I can paste here if you would like to take a look though.

Check around “Built target” lines which contain “move_header_bindings_pyroot”, “move_header_tmva_pymva”, “G__PyROOT”, “PyROOT”, “G__PyMVA”, “PyMVA”.

Has “make” (re-)built anything now?

If there are no problems reported then I have no idea what failed and how.

Actually none of these lines exist in my make file.

I am unsure to check if anything new was built…

Attach the “make.out.txt” file here.

In order to see what what’s new, you could try:

ls -alt `root-config --libdir`

make.out.txt (14.7 KB)

My mistake (I don’t use “pyroot_experimental”) … you do have “move_header_bindings_tpython”, “G__ROOTTPython” and “ROOTTPython”. so have you tried to use it:

[...]$ python3
import ROOT

Yes, I have tried

import ROOT

in the python and python3 environments. I get the “No module named ‘ROOT’” error in both. Specifically:

Traceback (most recent call last):
File “”, line 1, in
ModuleNotFoundError: No module named ‘ROOT’

@Axel We need someone who knows how “pyroot_experimental” is expected to behave (and why it fails).

@Wile_E_Coyote, thank you very much for your time!

Just to make sure … do you actually setup your ROOT before calling python?

[...]$ source /full/path/to/your/root/bin/thisroot.sh
[...]$ python3
import ROOT