'Import numpy raise import error numba needs numpy 1.21 or less

I tried to import numpy and I recieved the following error: "raise ImportError("Numba needs NumPy 1.21 or less") ImportError: Numba needs NumPy 1.21 or less" we already downloaded numba 0.48 and numpy 1.18.1 and it still asks to use numpy 1.21 or less. can anyone helps me on this issue? I attached 2 screenshots, one is the code and the other one is the error message.Thanks



Solution 1:[1]

if you are not using virtual enivrements, i suggest you install and use ANACONDA.
Solution:
for this error i think using Numpy==1.21.4 and Numba==0.53.0 will solve your problem.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Daly Hachicha