Home > other >  Python import CV2 error prompt ImportError: numpy. Core. The multiarray failed to import
Python import CV2 error prompt ImportError: numpy. Core. The multiarray failed to import

Time:10-15

Import cv2:


Error message:



Numpy version: 1.17.4
Numpy location: D: \ python \ Lib \ site - packages

Python version: 3.6

Pray god help to see see!!!!!!!!!!

CodePudding user response:

There may be multiple numpy version,
Continuous discharge numpy try several times, until the prompt found no numpy
PIP uninstall numpy


Then reinstall numpy. Try,

CodePudding user response:

reference 1st floor seakingx response:
, there may be multiple numpy version
Continuous discharge numpy try several times, until the prompt found no numpy
PIP uninstall numpy


Then reinstall numpy. Try,


Yeah yeah thank you, I have already solved, I put the py files before doing project always announcing the wrong below, then built a project to run the py file is not an error, and don't know if the original project conflicts,
  • Related