标签:runtime for python2.7 lib style erro 解决 color call
[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
解决:
pip install --upgrade --force-reinstall numpy
标签:runtime for python2.7 lib style erro 解决 color call
原文地址:https://www.cnblogs.com/zheh/p/9778103.html