ImportError: cannot import name 'generated_jit' from 'numba'
Closed this issue · 4 comments
sbenthall commented
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?
alanlujan91 commented
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 commented
Alan thinks it's interpolation.py, which is not being maintained. I will go
through and see where we're actually using that and see if it can be
"unwound".
…On Wed, Feb 7, 2024, 9:02 AM Sebastian Benthall ***@***.***> wrote:
Assigned #1382 <#1382> to @mnwhite
<https://github.com/mnwhite>.
—
Reply to this email directly, view it on GitHub
<#1382 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADKRAFI3QBVE6P3U4V7F6GDYSOCP7AVCNFSM6AAAAABC54ITQ6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRG4ZTEOBZGI4DGMI>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
alanlujan91 commented
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 commented
EconForge/interpolation.py#110
Need to set numba < 0.59.0