ERROR: numba 0.56.4 has requirement numpy<1.24,>=1.18, but you'll have numpy 1.24.2 which is incompatible.

3 min read

This error message indicates that there is a compatibility issue between the current version of NumPy installed on your system (version 1.24.2) and the required version of NumPy specified by the numba package (version 1.18 to 1.23). To resolve this issue, you will need to either downgrade your version of NumPy to a compatible version, or upgrade the numba package to a version that is compatible with your current version of NumPy. You can use either pip or conda to manage your package installations and resolve this issue.