fermi-lat / Fermitools-conda

Conda recipe files for the Fermi Sciencetools software analysis package: Fermitools
https://fermi.gsfc.nasa.gov/ssc/data/analysis/
BSD 3-Clause "New" or "Revised" License
34 stars 17 forks source link

Import error #101

Closed paulray closed 3 years ago

paulray commented 3 years ago

I get a failure now when trying to import BinnedAnalysis. This is after updating conda and fermitools. Any suggestions?

paulr@heselin0:~ % conda activate fermi
ipy%                                                                                                               (fermi) paulr@heselin0:~ % ipython
Python 3.7.9 | packaged by conda-forge | (default, Dec  9 2020, 21:08:20) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.19.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: from BinnedAnalysis import *
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-6478cd2fb325> in <module>
----> 1 from BinnedAnalysis import *

/Software/miniconda3/envs/fermi/lib/python3.7/site-packages/fermitools/BinnedAnalysis.py in <module>
     11 import sys
     12 import bisect
---> 13 import pyLikelihood as pyLike
     14 from SrcModel import SourceModel
     15 from AnalysisBase import AnalysisBase, _quotefn, _null_file, num

/Software/miniconda3/envs/fermi/lib/python3.7/site-packages/fermitools/pyLikelihood.py in <module>
     13     from . import _pyLikelihood
     14 else:
---> 15     import _pyLikelihood
     16 
     17 try:

ImportError: libCLHEP-2.4.1.3.so: cannot open shared object file: No such file or directory

In [2]: 

And here is my conda list:

(fermi) paulr@heselin0:~ % conda list
# packages in environment at /Software/miniconda3/envs/fermi:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                      1_llvm    conda-forge
afterimage                1.21              ha9998ff_1003    conda-forge
ape                       3.0.0                h14c3975_1    fermi
aplpy                     2.0.3                      py_1    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
argon2-cffi               20.1.0           py37h4abf009_2    conda-forge
astropy                   3.2.3            py37h516909a_0    conda-forge
astropy-healpix           0.5              py37ha21ca33_1    conda-forge
async_generator           1.10                       py_0    conda-forge
attrs                     20.3.0             pyhd3deb0d_0    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.functools_lru_cache 1.6.1                      py_0    conda-forge
binutils                  2.35.1               hdd6e379_1    conda-forge
binutils_impl_linux-64    2.35.1               h193b22a_1    conda-forge
binutils_linux-64         2.35                hc3fd857_29    conda-forge
black                     20.8b1                     py_1    conda-forge
blas                      2.106                       mkl    conda-forge
bleach                    3.2.1              pyh9f0ad1d_0    conda-forge
blosc                     1.21.0               h9c3ff4c_0    conda-forge
brotli                    1.0.9                he1b5a44_3    conda-forge
brunsli                   0.1                  h9c3ff4c_0    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.17.1               h36c2ea0_0    conda-forge
c-compiler                1.1.3                h7f98852_0    conda-forge
ca-certificates           2020.12.5            ha878542_0    conda-forge
cached-property           1.5.1                      py_0    conda-forge
cairo                     1.16.0            h9f066cc_1006    conda-forge
certifi                   2020.12.5        py37h89c1867_0    conda-forge
cffi                      1.14.4           py37hc58025e_1    conda-forge
cfitsio                   3.470                hb418390_7    conda-forge
charls                    2.1.0                h9c3ff4c_2    conda-forge
clhep                     2.4.4.0              h9c3ff4c_0    conda-forge
click                     7.1.2              pyh9f0ad1d_0    conda-forge
cloudpickle               1.6.0                      py_0    conda-forge
compilers                 1.1.3                ha770c72_0    conda-forge
corner                    2.1.0              pyhd3deb0d_1    conda-forge
coverage                  5.3.1            py37h5e8e339_0    conda-forge
cppunit                   1.15.1               he1b5a44_0    conda-forge
cxx-compiler              1.1.3                h4bd325d_0    conda-forge
cycler                    0.10.0                     py_2    conda-forge
cytoolz                   0.11.0           py37h4abf009_1    conda-forge
dask-core                 2020.12.0          pyhd8ed1ab_0    conda-forge
dataclasses               0.7                pyhb2cacf7_7    conda-forge
davix                     0.7.6                hb44b51d_0    conda-forge
dbus                      1.13.6               hfdff14a_1    conda-forge
decorator                 4.4.2                      py_0    conda-forge
defusedxml                0.6.0                      py_0    conda-forge
emcee                     3.0.2              pyh5ca1d4c_0    conda-forge
entrypoints               0.3             pyhd8ed1ab_1003    conda-forge
expat                     2.2.9                he1b5a44_2    conda-forge
f2c                       0.0.2                h14c3975_0    fermi
fermitools                2.0.0                hf484d3e_0    fermi
fermitools-data           0.18                          0    fermi
fermitools-dependencies   2.0.0                         0    fermi
fftw                      3.3.8           nompi_h8cb7ab2_1114    conda-forge
fontconfig                2.13.1            h7e3eb15_1002    conda-forge
fortran-compiler          1.1.3                h1990efc_0    conda-forge
freetype                  2.10.4               h7ca028e_0    conda-forge
fribidi                   1.0.10               h36c2ea0_0    conda-forge
ftgl                      2.4.0                hbcb1f35_0    conda-forge
future                    0.18.2           py37h89c1867_2    conda-forge
gcc_impl_linux-64         9.3.0               h28f5a38_17    conda-forge
gcc_linux-64              9.3.0               h7247604_29    conda-forge
gdk-pixbuf                2.42.2               h0c95a7a_2    conda-forge
geos                      3.8.1                he1b5a44_0    conda-forge
gettext                   0.19.8.1          h0b5b191_1005    conda-forge
gfortran_impl_linux-64    9.3.0               h2bb4189_17    conda-forge
gfortran_linux-64         9.3.0               ha1c937c_29    conda-forge
giflib                    5.2.1                h36c2ea0_2    conda-forge
gl2ps                     1.4.2                h0708190_0    conda-forge
glew                      2.1.0                h9c3ff4c_2    conda-forge
glib                      2.66.4               hcd2ae1e_1    conda-forge
graphite2                 1.3.13            h58526e2_1001    conda-forge
graphviz                  2.42.3               h0511662_0    conda-forge
gsl                       2.6                  he838d99_1    conda-forge
gst-plugins-base          1.14.5               h0935bb2_2    conda-forge
gstreamer                 1.18.2               h3560a44_1    conda-forge
gxx_impl_linux-64         9.3.0               h53cdd4c_17    conda-forge
gxx_linux-64              9.3.0               h0d07fa4_29    conda-forge
h5py                      3.1.0           nompi_py37h1e651dc_100    conda-forge
harfbuzz                  2.7.2                hee91db6_0    conda-forge
hdf5                      1.10.6          nompi_h6a2412b_1113    conda-forge
healpix_cxx               3.31              h673b59b_1003    conda-forge
hypothesis                5.47.0             pyhd8ed1ab_0    conda-forge
icu                       67.1                 he1b5a44_0    conda-forge
imagecodecs               2020.12.24       py37h70f1e17_1    conda-forge
imageio                   2.9.0                      py_0    conda-forge
importlib-metadata        3.3.0            py37h89c1867_2    conda-forge
importlib_metadata        3.3.0                hd8ed1ab_2    conda-forge
iniconfig                 1.1.1              pyh9f0ad1d_0    conda-forge
ipykernel                 5.4.2            py37h888b3d9_0    conda-forge
ipyparallel               6.3.0            py37h89c1867_2    conda-forge
ipython                   7.19.0           py37h888b3d9_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
jedi                      0.18.0           py37h89c1867_1    conda-forge
jinja2                    2.11.2             pyh9f0ad1d_0    conda-forge
jpeg                      9d                   h36c2ea0_0    conda-forge
jplephem                  2.15               pyh2f6353c_0    conda-forge
jsonschema                3.2.0                      py_2    conda-forge
jupyter_client            6.1.7                      py_0    conda-forge
jupyter_core              4.7.0            py37h89c1867_0    conda-forge
jupyterlab_pygments       0.1.2              pyh9f0ad1d_0    conda-forge
jxrlib                    1.1                  h7f98852_2    conda-forge
kernel-headers_linux-64   2.6.32              h77966d4_13    conda-forge
kiwisolver                1.3.1            py37hc928c03_0    conda-forge
krb5                      1.17.2               h926e7f8_0    conda-forge
lcms2                     2.11                 hcbb858e_1    conda-forge
ld_impl_linux-64          2.35.1               hea4e1c9_1    conda-forge
lerc                      2.2.1                h9c3ff4c_0    conda-forge
libaec                    1.0.4                h9c3ff4c_1    conda-forge
libblas                   3.9.0                     6_mkl    conda-forge
libcblas                  3.9.0                     6_mkl    conda-forge
libclang                  11.0.0          default_ha5c780c_2    conda-forge
libcurl                   7.71.1               hcdd3856_8    conda-forge
libcxx                    11.0.0               h0efe328_1    conda-forge
libcxxabi                 11.0.0               ha770c72_1    conda-forge
libdeflate                1.7                  h7f98852_4    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libevent                  2.1.10               hcdb4288_3    conda-forge
libffi                    3.3                  h58526e2_2    conda-forge
libgcc-devel_linux-64     9.3.0               hfd08b2a_17    conda-forge
libgcc-ng                 9.3.0               h5dbcf3e_17    conda-forge
libgfortran               3.0.0                         1    conda-forge
libgfortran-ng            9.3.0               he4bcb1c_17    conda-forge
libgfortran5              9.3.0               he4bcb1c_17    conda-forge
libglib                   2.66.4               h164308a_1    conda-forge
libglu                    9.0.0             he1b5a44_1001    conda-forge
libgomp                   9.3.0               h5dbcf3e_17    conda-forge
libiconv                  1.16                 h516909a_0    conda-forge
liblapack                 3.9.0                     6_mkl    conda-forge
liblapacke                3.9.0                     6_mkl    conda-forge
libllvm10                 10.0.1               he513fc3_3    conda-forge
libllvm11                 11.0.0               he513fc3_0    conda-forge
libnghttp2                1.41.0               h8cfc5f6_2    conda-forge
libopenblas               0.3.13          pthreads_h8fe5266_0    conda-forge
libpng                    1.6.37               h21135ba_2    conda-forge
libpq                     12.3                 h255efa7_3    conda-forge
librsvg                   2.50.2               h115801e_2    conda-forge
libsodium                 1.0.18               h36c2ea0_1    conda-forge
libssh2                   1.9.0                hab1572f_5    conda-forge
libstdcxx-devel_linux-64  9.3.0               h4084dd6_17    conda-forge
libstdcxx-ng              9.3.0               h2ae2ef3_17    conda-forge
libtiff                   4.2.0                hdc55705_0    conda-forge
libtool                   2.4.6             h58526e2_1007    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libwebp-base              1.1.0                h36c2ea0_3    conda-forge
libxcb                    1.13              h14c3975_1002    conda-forge
libxkbcommon              1.0.3                he3ba5ed_0    conda-forge
libxml2                   2.9.10               h68273f3_2    conda-forge
libzopfli                 1.0.3                h9c3ff4c_0    conda-forge
llvm-openmp               11.0.0               hfc4b9b4_1    conda-forge
llvmlite                  0.35.0           py37h9d7f4d0_0    conda-forge
lz4-c                     1.9.2                he1b5a44_3    conda-forge
markupsafe                1.1.1            py37hb5d75c8_2    conda-forge
matplotlib                3.3.3            py37h89c1867_0    conda-forge
matplotlib-base           3.3.3            py37h4f6019d_0    conda-forge
metakernel                0.27.5             pyhd3deb0d_0    conda-forge
mistune                   0.8.4           py37h4abf009_1002    conda-forge
mkl                       2020.4             h726a3e6_304    conda-forge
more-itertools            8.6.0              pyhd8ed1ab_0    conda-forge
mpi                       1.0                     openmpi    conda-forge
mpi4py                    3.0.3            py37h3e1c8c0_3    conda-forge
mypy_extensions           0.4.3            py37h89c1867_2    conda-forge
mysql-common              8.0.22               ha770c72_1    conda-forge
mysql-libs                8.0.22               h1fd7589_1    conda-forge
nbclient                  0.5.1                      py_0    conda-forge
nbconvert                 6.0.7            py37h89c1867_3    conda-forge
nbformat                  5.0.8                      py_0    conda-forge
ncurses                   6.2                  h58526e2_4    conda-forge
nest-asyncio              1.4.3              pyhd8ed1ab_0    conda-forge
networkx                  2.5                        py_0    conda-forge
notebook                  6.1.6            py37h89c1867_0    conda-forge
nspr                      4.29                 h9c3ff4c_1    conda-forge
nss                       3.60                 hb5efdd6_0    conda-forge
numba                     0.52.0           py37hdc94413_0    conda-forge
numpy                     1.19.4           py37haa41c4c_2    conda-forge
olefile                   0.46               pyh9f0ad1d_1    conda-forge
openblas                  0.3.13          pthreads_h4748800_0    conda-forge
openjpeg                  2.4.0                hf7af979_0    conda-forge
openmpi                   4.0.5                h9b22176_4    conda-forge
openssl                   1.1.1i               h7f98852_0    conda-forge
packaging                 20.8               pyhd3deb0d_0    conda-forge
pandoc                    2.11.3.2             h7f98852_0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
pango                     1.42.4               h69149e4_5    conda-forge
parso                     0.8.1              pyhd8ed1ab_0    conda-forge
pathspec                  0.8.1              pyhd3deb0d_0    conda-forge
pcre                      8.44                 he1b5a44_0    conda-forge
pexpect                   4.8.0              pyh9f0ad1d_2    conda-forge
pgplot                    5.2.2             h07066d1_1007    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pillow                    8.1.0            py37he6b4880_0    conda-forge
pint-pulsar               0.7              py37hc8dfbb8_0    conda-forge
pip                       20.3.3             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h36c2ea0_0    conda-forge
pluggy                    0.13.1           py37he5f6b98_3    conda-forge
pmw                       2.0.1           py37hc8dfbb8_1003    conda-forge
portalocker               1.7.0            py37hc8dfbb8_1    conda-forge
prometheus_client         0.9.0              pyhd3deb0d_0    conda-forge
prompt-toolkit            3.0.8              pyha770c72_0    conda-forge
psutil                    5.8.0            py37h5e8e339_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
py                        1.10.0             pyhd3deb0d_0    conda-forge
pyavm                     0.9.5              pyhac0dd68_0    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pygments                  2.7.3              pyhd8ed1ab_0    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyqt                      5.12.3           py37h89c1867_6    conda-forge
pyqt-impl                 5.12.3           py37he336c9b_6    conda-forge
pyqt5-sip                 4.19.18          py37hcd2ae1e_6    conda-forge
pyqtchart                 5.12             py37he336c9b_6    conda-forge
pyqtwebengine             5.12.1           py37he336c9b_6    conda-forge
pyregion                  2.0             py37hc1659b7_1001    conda-forge
pyrsistent                0.17.3           py37h4abf009_1    conda-forge
pytest                    6.2.1            py37h89c1867_0    conda-forge
pytest-arraydiff          0.3                        py_0    conda-forge
pytest-astropy            0.8.0              pyhd8ed1ab_0    conda-forge
pytest-astropy-header     0.1.2                      py_0    conda-forge
pytest-cov                2.10.1             pyh9f0ad1d_0    conda-forge
pytest-doctestplus        0.8.0              pyhd8ed1ab_1    conda-forge
pytest-filter-subpackage  0.1.1                      py_0    conda-forge
pytest-mock               3.5.0              pyhd8ed1ab_0    conda-forge
pytest-openfiles          0.5.0                      py_0    conda-forge
pytest-remotedata         0.3.2              pyh9f0ad1d_0    conda-forge
pythia8                   8.244            py37hcd2ae1e_2    conda-forge
python                    3.7.9           hffdb5ce_0_cpython    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python_abi                3.7                     1_cp37m    conda-forge
pywavelets                1.1.1            py37h902c9e0_3    conda-forge
pyyaml                    5.3.1            py37hb5d75c8_1    conda-forge
pyzmq                     20.0.0           py37h5a562af_1    conda-forge
qt                        5.12.9               h763d07f_1    conda-forge
readline                  8.0                  he28a2e2_2    conda-forge
regex                     2020.11.13       py37h5e8e339_0    conda-forge
reproject                 0.7.1            py37h902c9e0_1    conda-forge
root                      6.22.6           py37h07c7eef_0    conda-forge
root-binaries             6.22.6           py37h07c7eef_0    conda-forge
root-dependencies         6.22.6           py37h07c7eef_0    conda-forge
root_base                 6.22.6           py37h5ed0ae1_0    conda-forge
schwimmbad                0.3.1            py37hc8dfbb8_1    conda-forge
scikit-image              0.17.2           py37h9fdb41a_2    conda-forge
scipy                     1.6.0            py37h14a347d_0    conda-forge
send2trash                1.5.0                      py_0    conda-forge
setuptools                49.6.0           py37he5f6b98_2    conda-forge
shapely                   1.7.1            py37hedb1597_1    conda-forge
six                       1.15.0             pyh9f0ad1d_0    conda-forge
snappy                    1.1.8                he1b5a44_3    conda-forge
sortedcontainers          2.3.0              pyhd8ed1ab_0    conda-forge
sqlite                    3.34.0               h74cdb3f_0    conda-forge
sysroot_linux-64          2.12                h77966d4_13    conda-forge
tbb                       2020.2               h4bd325d_2    conda-forge
tbb-devel                 2020.2               h4bd325d_2    conda-forge
terminado                 0.9.2            py37h89c1867_0    conda-forge
testpath                  0.4.4                      py_0    conda-forge
tifffile                  2020.12.8          pyhd8ed1ab_0    conda-forge
tk                        8.6.10               h21135ba_1    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
toolz                     0.11.1                     py_0    conda-forge
tornado                   6.1              py37h4abf009_0    conda-forge
tqdm                      4.55.1             pyhd8ed1ab_0    conda-forge
traitlets                 5.0.5                      py_0    conda-forge
typed-ast                 1.4.2            py37h5e8e339_0    conda-forge
typing_extensions         3.7.4.3                    py_0    conda-forge
uncertainties             3.1.5              pyhd8ed1ab_0    conda-forge
vdt                       0.4.3                h9c3ff4c_0    conda-forge
wcslib                    5.20                 ha44fe06_0    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.36.2             pyhd3deb0d_0    conda-forge
xerces-c                  3.2.3                hfe33f54_1    conda-forge
xorg-fixesproto           5.0               h14c3975_1002    conda-forge
xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
xorg-libice               1.0.10               h516909a_0    conda-forge
xorg-libsm                1.2.3             h84519dc_1000    conda-forge
xorg-libx11               1.6.12               h516909a_0    conda-forge
xorg-libxau               1.0.9                h14c3975_0    conda-forge
xorg-libxcursor           1.2.0                h516909a_0    conda-forge
xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
xorg-libxext              1.3.4                h516909a_0    conda-forge
xorg-libxfixes            5.0.3             h516909a_1004    conda-forge
xorg-libxft               2.3.3                h71203ad_0    conda-forge
xorg-libxpm               3.5.13               h516909a_0    conda-forge
xorg-libxrender           0.9.10            h516909a_1002    conda-forge
xorg-libxt                1.1.5             h516909a_1003    conda-forge
xorg-renderproto          0.11.1            h14c3975_1002    conda-forge
xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xrootd                    5.0.3            py37h1418fb8_0    conda-forge
xxhash                    0.8.0                h7f98852_3    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
yaml                      0.2.5                h516909a_0    conda-forge
zeromq                    4.3.3                h58526e2_3    conda-forge
zfp                       0.5.5                h9c3ff4c_4    conda-forge
zipp                      3.4.0                      py_0    conda-forge
zlib                      1.2.11            h516909a_1010    conda-forge
zstd                      1.4.8                hdf46e1d_0    conda-forge
paulray commented 3 years ago

Hmm. I just tried downgrading my clhep package, but now root crashes:

(fermi) paulr@heselin0:~ % conda install -c conda-forge clhep=2.4.1.3
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /Software/miniconda3/envs/fermi

  added / updated specs:
    - clhep=2.4.1.3

The following packages will be DOWNGRADED:

  clhep                                  2.4.4.0-h9c3ff4c_0 --> 2.4.1.3-he1b5a44_0

Proceed ([y]/n)? 

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Module ROOT_Foundation_C not found.
Module ROOT_Config not found.
Module ROOT_Rtypes not found.
Module ROOT_Foundation_Stage1_NoRTTI not found.
Module Core not found.
Module RIO not found.
Module MathCore not found.
Module Hist not found.
Module Gpad not found.
Module Graf not found.
Module GenVector not found.
Module Smatrix not found.
Module Tree not found.
Module TreePlayer not found.
Module Physics not found.
Module Proof not found.
Module Geom not found.
Module Core not found.
Module Rint not found.
Module Thread not found.
Module RIO not found.
Module Imt not found.
Module MathCore not found.
Error in <TCling::LoadPCM>: ROOT PCM /scratch2/Software.rhel7/miniconda3/envs/fermi/lib/libMathCore_rdict.pcm file does not exist
Error in <TClass::LoadClassInfo>: no interpreter information for class TSignalHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
ROOT_prompt_2:1:8: error: expected ';' after expression
TString old_value=gEnv->GetValue("Unix.*.Root.DynamicPath", "default");
       ^
       ;
ROOT_prompt_2:1:9: error: use of undeclared identifier 'old_value'
TString old_value=gEnv->GetValue("Unix.*.Root.DynamicPath", "default");
        ^
ROOT_prompt_2:1:19: error: use of undeclared identifier 'gEnv'
TString old_value=gEnv->GetValue("Unix.*.Root.DynamicPath", "default");
                  ^
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
ROOT_prompt_7:1:8: error: expected ';' after expression
TString new_value = old_value + TString(":/Software/miniconda3/envs/fermi/lib/fermitools/:/Software/minicon...
       ^
       ;
ROOT_prompt_7:1:9: error: use of undeclared identifier 'new_value'
TString new_value = old_value + TString(":/Software/miniconda3/envs/fermi/lib/fermitools/:/Software/minicon...
        ^
ROOT_prompt_7:1:21: error: use of undeclared identifier 'old_value'
TString new_value = old_value + TString(":/Software/miniconda3/envs/fermi/lib/fermitools/:/Software/minicon...
                    ^
ROOT_prompt_7:1:33: error: use of undeclared identifier 'TString'
TString new_value = old_value + TString(":/Software/miniconda3/envs/fermi/lib/fermitools/:/Software/minicon...
                                ^
ROOT_prompt_8:1:1: error: use of undeclared identifier 'gEnv'
gEnv->SetValue("Unix.*.Root.DynamicPath", new_value);
^
ROOT_prompt_8:1:43: error: use of undeclared identifier 'new_value'
gEnv->SetValue("Unix.*.Root.DynamicPath", new_value);
                                          ^
ROOT_prompt_9:1:1: error: use of undeclared identifier 'gEnv'
gEnv->SaveLevel(kEnvUser);
^
ROOT_prompt_9:1:17: error: use of undeclared identifier 'kEnvUser'
gEnv->SaveLevel(kEnvUser);
                ^
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TFileHandler is available even though it has a TClass initialization routine.
Error in <TClass::LoadClassInfo>: no interpreter information for class TRint is available even though it has a TClass initialization routine.
grburgess commented 3 years ago

Same issues as #100

donhorner commented 3 years ago

@paulray Alex is looking into it, but in the meantime you can try adding "clhep=2.4.1.3" to the end of the command line when running the fermitools install command (rather than doing it separately later). I get a version of the tools where the BinnedAnalysis import works.

Areustle commented 3 years ago

I rebuilt the tools against CLHEP 2.4.4.0 and uploaded to the dev label on conda-forge. You can access it with conda create -n fermi -c conda-forge -c fermi/label/dev fermitools=2.0.7.0 python=3.

paulray commented 3 years ago

Thanks for the fix!