0

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: Could not build wheels for insightface, which is required to install pyproject.toml-based projects

I have tried everything like updating and etc

kin
  • 1
  • 1
  • 2
    Please provide enough code so others can better understand or reproduce the problem. – Community Jul 21 '23 at 18:19
  • Without error log I can just guess, but under Windows, you may need to install the Microsoft C++ Build Tools (`error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/`). – upe Jul 30 '23 at 09:40

1 Answers1

0

I had the same issue on my desktop where I was building a project on Windows 11.

You need to install Microsoft build tools from this link (or latest) https://aka.ms/vs/17/release/vs_BuildTools.exe

Select: WorkloadsDesktop development with C++

Individual Components must be checked:

  • Windows SDK
  • C++ x64/x86 build tools

Hope it helps.

RajibTheKing
  • 1,234
  • 1
  • 15
  • 35