How do you fix "runtimeError: package fails to pass a sanity check" for numpy and pandas?
This error occurs when using python3.9 and numpy1.19.4 So uninstalling numpy1.19.4 and installing 1.19.3 will work.
As of January 5th 2021 numpy version
1.19.5 is out and appears to solve the problem.
I am using Python 3.7, anyway the same solution suggested here helped me.
pip install numpy==1.19.3
Actually the link informed https://developercommunity.visualstudio.com/content/problem/1207405/fmod-after-an-update-to-windows-2004-is-causing-a.html shows the given solution. It seems to be a bug in Visual Studio, which remains unsolved up to this date.
I am using python 3.9