Failed to build insightface even after installing MS Visual C++
AniMoster opened this issue · 2 comments
AniMoster commented
As you can see below, I have installed Microsoft Visual C++ but still getting this error
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/
[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: Could not build wheels for insightface, which is required to install pyproject.toml-based projects
UberGuidoZ commented
Visual Studio Build Tools is different than the Visual Studio Runtimes. It appears you have the runtimes installed but are missing the build tools. Download and install Visual Studio - Community Edition. During the install, make sure to include the Python
and C++
packages.
henryruhs commented
True, you need VS build tools