runtime error
ers/__init__.py", line 4, in <module> from ._gpu_tree import GPUTreeExplainer File "/usr/local/lib/python3.10/site-packages/shap/explainers/_gpu_tree.py", line 5, in <module> from ._tree import ( File "/usr/local/lib/python3.10/site-packages/shap/explainers/_tree.py", line 29, in <module> from .. import _cext AttributeError: _ARRAY_API not found Traceback (most recent call last): File "/home/user/app/app.py", line 2, in <module> import shap File "/usr/local/lib/python3.10/site-packages/shap/__init__.py", line 45, in <module> from . import plots File "/usr/local/lib/python3.10/site-packages/shap/plots/__init__.py", line 6, in <module> from ._bar import bar File "/usr/local/lib/python3.10/site-packages/shap/plots/_bar.py", line 9, in <module> from . import colors File "/usr/local/lib/python3.10/site-packages/shap/plots/colors/__init__.py", line 1, in <module> from ._colors import ( File "/usr/local/lib/python3.10/site-packages/shap/plots/colors/_colors.py", line 23, in <module> blue_rgb = lch2rgb(blue_lch) File "/usr/local/lib/python3.10/site-packages/shap/plots/colors/_colors.py", line 13, in lch2rgb return lab2rgb(lch2lab([[x]]))[0][0] File "/usr/local/lib/python3.10/site-packages/shap/plots/colors/_colorconv.py", line 372, in lch2lab lch = _prepare_lab_array(lch) File "/usr/local/lib/python3.10/site-packages/shap/plots/colors/_colorconv.py", line 387, in _prepare_lab_array return img_as_float(arr, force_copy=True) File "/usr/local/lib/python3.10/site-packages/shap/plots/colors/_colorconv.py", line 993, in img_as_float return convert(image, np.floating, force_copy) File "/usr/local/lib/python3.10/site-packages/shap/plots/colors/_colorconv.py", line 819, in convert if np.issubdtype(dtype_in, np.obj2sctype(dtype)): File "/usr/local/lib/python3.10/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.obj2sctype` was removed in the NumPy 2.0 release. Use `np.dtype(obj).type` instead.
Container logs:
Fetching error logs...