This is the error I am getting and, as far as I can tell, there is nothing useful on the error link to fix this.
RuntimeError: The current Numpy installation (
'...\\venv\\lib\\site-packages\\numpy\\__init__.py'
) fails to pass a sanity check due to a bug in the windows runtime.
See this issue for more information: https://developercommunity.visualstudio.com/content/problem/1207405/fmod-after-an-update-to-windows-2004-is-causing-a.html
I have tried multiple versions of Python (3.8.6 and 3.9.0) and numpy and pandas. I am currently using PyCharm to do all this.
This error occurs when using python3.9 and numpy1.19.4 So uninstalling numpy1.19.4 and installing 1.19.3 will work.
Edit
As of January 5th 2021 numpy version 1.19.5
is out and appears to solve the problem.
How to downgrade it using pip?
@ShaidaMuhammad pip install numpy==1.19.3
Dammit
numpy
, test before you release please. This isn't betaI'm using Python 3.7.5 and got this error too (numpy 1.19.4). Downgrading numpy to 1.19.3 indeed prevents the error from happening.
@NoName: We did test, and the bug is in windows itself. 1.19.3 was an attempt at fixing this by using a different version of OpenBLAS that works around the problem, but that version did not work correctly on linux.