Last answered:

11 Sept 2023

Posted on:

31 Oct 2022

0

Numba needs NumPy 1.21 or less for first line of AI Powered Business jupyter notebook does not work

Numba needs NumPy 1.21 or less for first line of AI Powered Business jupyter notebook does not work. I have referred to overstack coders and the recommendations do not work to run that first line of code.

1 answers ( 0 marked as helpful)
Instructor
Posted on:

11 Sept 2023

0

I recommend avoiding Numba and similar "accelerators."


Replacing pip with conda (as in the Anaconda package manager) is more than sufficient for any practical speedup you will need. After replacing the package manager, you simply:

conda install -n <name of your python env> -c conda-forge -y jupyter lightgbm matplotlib numpy pandas scipy scikit-learn scikit-optimize skccm sklearn-pandas shap statsmodels

 

Submit an answer