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
zzoitvuj1#
如果你不使用虚拟环境,我建议你安装并使用ANACONDA。解决方案:对于这个错误,我认为使用Numpy==1.21.4和Numba==0.53.0将解决您的问题。
Numpy==1.21.4
Numba==0.53.0
1条答案
按热度按时间zzoitvuj1#
如果你不使用虚拟环境,我建议你安装并使用ANACONDA。
解决方案:
对于这个错误,我认为使用
Numpy==1.21.4
和Numba==0.53.0
将解决您的问题。