This article gives you a comprehensive understanding of Java object serialization and deserialization>>>
[root@localhost examples]# python facerec_from_video_file.py
RuntimeError: module compiled against API version 0xa but this version of numpy is 0x7
Traceback (most recent call last):
File "facerec_from_video_file.py", line 2, in <module>
import cv2
File "/usr/lib64/python2.7/site-packages/cv2/__init__.py", line 3, in <module>
from .cv2 import *
ImportError: numpy.core.multiarray failed to import
Solution:
pip install --upgrade --force-reinstall numpy
Similar Posts:
- [Solved] “import numpy as np” ImportError: No module named numpy
- [Solved] pytorchImportError: numpy.core.multiarray failed to import
- Pycharm introduces numpy error: ImportError: Importing the multiarray numpy extension module failed. Most likely you are trying to import a failed build of numpy.
- [Solved] Importerror: DLL load failed while importing mtrand: the specified program could not be found.
- Windows Python Install: requires numpy+mkl & ImportError: cannot import name NUMPY_MKL
- No module named ‘pkg_resources.extern’ [How to Solve]
- [Solved] peewee error: ImportError: No module named ‘MySQLdb’;pymysql error: from . import connections # noqa: E402
- [Solved] Tensorflow:ImportError: DLL load failed: The specified module cannot be found Failed to load the native TensorFlow runtime
- [Solved] pip install ipython error: ‘ImportError: No module named shutil_get_terminal_size’
- [Solved] No module named extern.six.moves