Hello guys how are you all ? Hope you all are fine. Recently I have faced **runtimeError: package fails to pass a sanity check for numpy and pandas** using python3.9 and numpy1.19.4. So Here Is my all possible solution for you Guys. Lets Start without wasting your time.

## Cause Of Error

```
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.
```

This error occurs when using python3.9 and numpy1.19.4

## Solution For This Error

runtimeError: package fails to pass a sanity check for numpy and pandas?

**How to solve runtimeError: Package fails to pass a sanity check for numpy and pandas ?**

This Error occurs when you are using python3.9 and numpy1.19.4 just uninstalling numpy 1.19.4 vserison and use numpy 1.19.3 version that will work.

## Solution 1 : Just Downgrade numpy version

This error occurs when using python3.9 and numpy1.19.4 So uninstalling numpy1.19.4 and installing 1.19.3 will work.

## Solution 2 : Use numpy 1.19.3 instead of 1.19.4

In Python 3.7, anyway the same solution suggested here helped me.

`pip install numpy==1.19.3`

**Solution 3 :**

Just install `numpy==1.19.3`

, When you are using python 3.9

**Solution 4 :**

As per numpy dev answered:

NumPy has released a bugfix 1.19.3 to work around this issue. The bugfix broke something else on Linux, so we had to revert the fix in release 1.19.4, but you can still install the 1.19.3 via pip install numpy==1.19.3.

So, if you need requirements that work for both Linux and Windows, you’ll need to use PEP508:

```
numpy==1.19.3; platform_system == "Windows"
numpy>=1.19.4; platform_system == "linux"
```

**Solution 5 :**

It’s a bug of `numpy 1.19.4`

that fails with all python versions. Use the previous version to *solve* the problem, so by terminal:

`pip install numpy==1.19.3`

This 5 Solution must help you to solve runtimeError: package fails to pass a sanity check for NumPy** and pandas?**.

**Summery**

So it’s all About All possible solutions. Hope this above all solution helped you a lot. Comment below Your thoughts and your queries. Comment Below on your suggestion.

Thanks for the excellent post. I added you to digg. Keep up the hard work.