hacksider / Deep-Live-Cam

real time face swap and one-click video deepfake with only a single image
GNU Affero General Public License v3.0
41.26k stars 6.02k forks source link

Issues with insight face failure to build #124

Closed jasonkneen closed 1 month ago

jasonkneen commented 3 months ago

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)
ImYuya commented 3 months ago

+1

k1ngpr4wn commented 3 months ago

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

jasonkneen commented 3 months ago

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

gupp41 commented 3 months ago

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?

shantanub08 commented 3 months ago

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