DEV Community

Cover image for fix: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash
Danny Chan
Danny Chan

Posted on

fix: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash

Problem:

A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash



Solution:

pip uninstall numpy
pip install numpy==1.26.4
Enter fullscreen mode Exit fullscreen mode

Reference:

https://stackoverflow.com/questions/78636947/a-module-that-was-compiled-using-numpy-1-x-cannot-be-run-in-numpy-2-0-0-as-it-ma

Top comments (0)