Opencv suddenly stopped working

Answered

I have been using pycharm for quiet sometime now and everything was working fine. Today suddenly when I run a code that I have run successfully many times before using opencv, I get the following error:

ImportError: numpy.core.multiarray failed to import
Traceback (most recent call last):
File "C:/Users/Nitharshini/PycharmProjects/AGV/project_4_video.py", line 2, in <module>
import cv2
ImportError: numpy.core.multiarray failed to import

Process finished with exit code 1

 

I have updated, opencv,numpy and pycharm itself. Is this a bug in pycharm?

1 comment

Please, try to run your script with the same interpreter (as you use in PyCharm) in the Terminal. Do you have the same error?

0

Please sign in to leave a comment.