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

ImportError: cannot import name 'generated_jit' from 'numba' #1382

Closed
sbenthall opened this issue Feb 7, 2024 · 4 comments · Fixed by #1377
Closed

ImportError: cannot import name 'generated_jit' from 'numba' #1382

sbenthall opened this issue Feb 7, 2024 · 4 comments · Fixed by #1377
Assignees
Milestone

Comments

@sbenthall
Copy link
Contributor

These errors are showing up on the continuous integration tests:

 ImportError: cannot import name 'generated_jit' from 'numba' (/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/numba/__init__.py)

What's going on? What depends on Numba?

@sbenthall sbenthall added this to the 0.14.0 milestone Feb 7, 2024
@alanlujan91
Copy link
Member

AzureMachineLearning.ipynb which uses IndShockConsumerTypeFast. Not widely used and we could remove from code base until we figure out what's going on with numba.

DecayInterp.ipynb which uses interpolation.py. This might be required by @Mv77 and his JMP.

@mnwhite
Copy link
Contributor

mnwhite commented Feb 7, 2024 via email

@alanlujan91
Copy link
Member

The errors are below. All these files use interpolation.py

ERROR HARK/ConsumptionSaving/tests/test_IndShockConsumerTypeFast.py
ERROR HARK/ConsumptionSaving/tests/test_PerfForesightFastConsumerType.py
ERROR HARK/tests/test_dcegm.py
ERROR HARK/tests/test_econforgeinterp.py

@alanlujan91
Copy link
Member

EconForge/interpolation.py#110

Need to set numba < 0.59.0

@alanlujan91 alanlujan91 linked a pull request Feb 7, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

4 participants