Skip to content

ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject #2884

Description

@BingLiHanShuang

My numpy version is 2.4.4. It seems not support 2.x numpy?

C:\Users\53077\AppData\Local\Programs\Python\Python312\Lib\site-packages\albumentations\check_version.py:147: UserWarning: Error fetching version info The read operation timed out
data = fetch_version_info()
Traceback (most recent call last):
File "D:\qwen\AgentGame\sdxl-i2i-Example.py", line 5, in
from insightface.app import FaceAnalysis
File "C:\Users\53077\AppData\Local\Programs\Python\Python312\Lib\site-packages\insightface_init_.py", line 18, in
from . import app
File "C:\Users\53077\AppData\Local\Programs\Python\Python312\Lib\site-packages\insightface\app_init_.py", line 2, in
from .mask_renderer import *
File "C:\Users\53077\AppData\Local\Programs\Python\Python312\Lib\site-packages\insightface\app\mask_renderer.py", line 8, in
from ..thirdparty import face3d
File "C:\Users\53077\AppData\Local\Programs\Python\Python312\Lib\site-packages\insightface\thirdparty\face3d_init_.py", line 3, in
from . import mesh
File "C:\Users\53077\AppData\Local\Programs\Python\Python312\Lib\site-packages\insightface\thirdparty\face3d\mesh_init_.py", line 9, in
from .cython import mesh_core_cython
File "insightface\thirdparty\face3d\mesh\cython\mesh_core_cython.pyx", line 1, in init insightface.thirdparty.face3d.mesh.cython.mesh_core_cython
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions