SOLVED How do you fix “runtimeError: package fails to pass a sanity check” for numpy and pandas?


  • can anyone guide me please.

    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.
    

    We have also 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.

  • Cyberian's Gold

    @wafa-sehar said in How do you fix “runtimeError: package fails to pass a sanity check” for numpy and pandas?:

    can anyone guide me please.

    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.
    

    We have also 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.

Insaf Sehat Card Live Cricket Streaming
Quiz 100% Result Quiz 100% Result
| |