ubuntu18.04+anaconda安装opencv出现AttributeError: type object 'numpy.ndarray' has no attribute '__array_

 

该问题是由于系统中存在两个版本的numpy模块,彼此冲突导致的

解决方法:将两个版本的numpy都卸载,再重新安装numpy就可以了,如下图所示

猜你喜欢

转载自blog.csdn.net/evergreenswj/article/details/86569955
今日推荐