Open acampove opened 6 hours ago
Another update, I see:
==================================== ERRORS ====================================
_________________ ERROR collecting tests/stats/test_fitter.py __________________
tests/stats/test_fitter.py:9: in <module>
import ROOT
/usr/share/miniconda/lib/python3.12/site-packages/ROOT/__init__.py:25: in <module>
import cppyy
/usr/share/miniconda/lib/python3.12/site-packages/cppyy/__init__.py:81: in <module>
from ._cpython_cppyy import *
/usr/share/miniconda/lib/python3.12/site-packages/cppyy/_cpython_cppyy.py:21: in <module>
c = loader.load_cpp_backend()
/usr/share/miniconda/lib/python3.12/site-packages/cppyy_backend/loader.py:79: in load_cpp_backend
raise RuntimeError("could not load cppyy_backend library")
E RuntimeError: could not load cppyy_backend library
If I add to the yaml file the compiler and cppyy as dependencies:
run: |
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda install conda-forge::gxx
conda install conda-forge::cppyy
conda install conda-forge::root
Solution to issue cannot be found in the documentation.
Issue
Hi,
I am trying to run a pipeline in github which uses ROOT as a dependency before running the tests with pytest. The job seems to be failing with messages like:
which I do not understand. When I run the same tests in my laptop, also using this version of ROOT, from a virtual environment, I do not see any problem. The YAML file where the actions are defined reads:
Installed packages
Environment info