Importerror: Numpy.Core.Multiarray Failed to Import

ImportError: numpy.core.multiarray failed to import (cv2)

I fixed this issue by uninstalling numpy

pip uninstall numpy

and after installing the previous version of numpy

python -m pip install numpy==1.19.3

ImportError: numpy.core.multiarray failed to import GDAL

You can install the numpy with different version to check which one can work.

For me, I install gdal-3.4.3 which is compatible with numpy-1.22.0

Hope this helps.

Importing opencv and getting numpy.core.multiarray failed to import

The error is telling you that you have an out of date version of numpy. If you used pip to install things you can simply run pip install numpy -U, or download the appropriate version from their website.



Related Topics



Leave a reply



Submit