s0md3v / roop

one-click face swap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to build insightface even after installing MS Visual C++

AniMoster opened this issue · comments

As you can see below, I have installed Microsoft Visual C++ but still getting this error

Screenshot 2023-05-31 080556

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

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.

True, you need VS build tools