欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 f

发布时间:2024/10/8 编程问答 40 豆豆
生活随笔 收集整理的这篇文章主要介绍了 numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 f 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

关于numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 f报错

问题是由 pycocotools 引起的。我通过安装旧版本来修复。

(base) ng@ng-Z390:~$ pip uninstall pycocotools Found existing installation: pycocotools 2.0.2 Uninstalling pycocotools-2.0.2:Would remove:/home/ng/.local/lib/python3.8/site-packages/pycocotools-2.0.2.dist-info/*/home/ng/.local/lib/python3.8/site-packages/pycocotools/* Proceed (y/n)? ySuccessfully uninstalled pycocotools-2.0.2(base) ng@ng-Z390:~$ pip install pycocotools==2.0.0

总结

以上是生活随笔为你收集整理的numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 f的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。