Tech이야기~!
welcom 자세히보기

Computer/Python

[Solution] "ImportError: numpy.core.multiarray failed to import" ERROR

Enhold 2020. 12. 18. 23:54

“ImportError: numpy.core.multiarray failed to import”

Opencv version and numpy version But I get this error while running my code.

from cv2 import *

from cv2 import *

ImportError: numpy.core.multiarray failed to import) 

 

[Solution]

There are some known issues with numpy==1.19.4

Could you install the Downgrade or reinstall ( Down version and try again)?

ex) pip install numpy==1.19.3

In any case, the problem is not related to PyCharm, but to the environment. Perhaps these opencv and numpy versions are incompatible.