Deep-Live-Cam icon indicating copy to clipboard operation
Deep-Live-Cam copied to clipboard

Issues with insight face failure to build

Open jasonkneen opened this issue 1 year ago • 5 comments

Got past other issues and now have this

      insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp:1259:10: fatal error: 'numpy/arrayobject.h' file not found
      #include "numpy/arrayobject.h"
               ^~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for insightface
Failed to build insightface
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (insightface)

jasonkneen avatar Aug 10 '24 08:08 jasonkneen

+1

ImYuya avatar Aug 11 '24 15:08 ImYuya

Use x64 Native Tools Command Prompt for VS 2022, that was my problem.

k1ngpr4wn avatar Aug 13 '24 03:08 k1ngpr4wn

got it working -- slow FPS but it's working and almost got it working on the GPU too but needs some more work -- I'll publish my fork

jasonkneen avatar Aug 13 '24 10:08 jasonkneen

got it working -- slow FPS but it's working and almost got it working on the GPU too but needs some more work -- I'll publish my fork

What did you do? And what are you running this on?

gupp41 avatar Aug 13 '24 17:08 gupp41

My issue was that I had not installed vs_BuildTools.exe properly. I followed this solution and it worked!

shantanub08 avatar Aug 16 '24 19:08 shantanub08