admin管理员组

文章数量:1550371

关于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)? y
  Successfully uninstalled pycocotools-2.0.2

(base) ng@ng-Z390:~$ pip install pycocotools==2.0.0

本文标签: changedbinarysizenumpyndarray