Closed mgrover1 closed 8 months ago
👋 Thanks for opening this PR! The Cookbook will be automatically built with GitHub Actions. To see the status of your deployment, click below. 🔍 Git commit SHA: 24827a5d44f1f049a111f5703f21a5492ae15f94 ✅ Deployment Preview URL: https://ProjectPythia.github.io/cmip6-cookbook/_preview/69
Here is a snippet from the failing workflow
----> 9 import numba
10 import scipy.sparse
11 from numpy.lib.mixins import NDArrayOperatorsMixin
File /srv/conda/envs/notebook/lib/python3.9/site-packages/numba/__init__.py:43
39 from numba.core.decorators import (cfunc, generated_jit, jit, njit, stencil,
40 jit_module)
42 # Re-export vectorize decorators and the thread layer querying function
---> 43 from numba.np.ufunc import (vectorize, guvectorize, threading_layer,
44 get_num_threads, set_num_threads)
46 # Re-export Numpy helpers
47 from numba.np.numpy_support import carray, farray, from_dtype
File /srv/conda/envs/notebook/lib/python3.9/site-packages/numba/np/ufunc/__init__.py:3
1 # -*- coding: utf-8 -*-
----> 3 from numba.np.ufunc.decorators import Vectorize, GUVectorize, vectorize, guvectorize
4 from numba.np.ufunc._internal import PyUFunc_None, PyUFunc_Zero, PyUFunc_One
5 from numba.np.ufunc import _internal, array_exprs
File /srv/conda/envs/notebook/lib/python3.9/site-packages/numba/np/ufunc/decorators.py:3
1 import inspect
----> 3 from numba.np.ufunc import _internal
4 from numba.np.ufunc.parallel import ParallelUFuncBuilder, ParallelGUFuncBuilder
6 from numba.core.registry import TargetRegistry
SystemError: initialization of _internal failed without raising an exception
SystemError: initialization of _internal failed without raising an exception
Numba likely needs to be re-installed to compile correctly for the image. This will ensure more recent versions of numba are used, likely fixing the issue here (cc @brian-rose @r-ford )