opencv-python与numpy版本不匹配问题
opencv
OpenCV: 开源计算机视觉库
项目地址:https://gitcode.com/gh_mirrors/opencv31/opencv
免费下载资源
·
报错1:importError :numpy.core.multiarrary failed to import
知道问题是numpy和opencv-python版本不匹配,将两个升级到最高,出现报错2
报错2:`np.sctypes` was removed in the NumPy 2.0 release. Access dtypes explicitly instead.. Did you mean: 'dtypes'?
安装numpy
pip install -U numpy<2.0.0
再安装opencv-python
pip install -U opencv-python<=4.6.0.66
问题解决
请勤记笔记^_^
GitHub 加速计划 / opencv31 / opencv
77.38 K
55.71 K
下载
OpenCV: 开源计算机视觉库
最近提交(Master分支:2 个月前 )
48668119
dnn: use dispatching for Winograd optimizations 6 天前
3dace76c
flann: remove unused hdf5 header 6 天前
更多推荐
已为社区贡献1条内容
所有评论(0)