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

24 1 1 1 1

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs