Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: name 'unsafe_empty_inferred' is not defined #182

Open
KarelTemmink opened this issue May 4, 2023 · 1 comment
Open

NameError: name 'unsafe_empty_inferred' is not defined #182

KarelTemmink opened this issue May 4, 2023 · 1 comment

Comments

@KarelTemmink
Copy link

After installing isochrones, I tried to replicate the example bolometric correction calculations.
However, after executing

`from isochrones.mist.bc import MISTBolometricCorrectionGrid

bc_grid = MISTBolometricCorrectionGrid(['J', 'H', 'K', 'G', 'BP', 'RP', 'g', 'r', 'i'])
bc_grid.interp([5770, 4.44, 0.0, 0.], ['G', 'K'])`

I got the following error:

numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
NameError: name 'unsafe_empty_inferred' is not defined

I would be very grateful for any help resolving this issue.

@acnine
Copy link

acnine commented Jun 26, 2023

I got the same error, turns out it's a bug in numba version 0.57.0: numba/numba#8958

Try running pip install numba --upgrade in your isochrones environment, that should resolve the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants