Free | No tracking | Every fact with a source|German and English

Error / Installation

Failed building wheel for insightface (insightface for ReActor/IPAdapter FaceID won’t install)

pip tries to build insightface from source and fails because no C++ compiler is installed on Windows.

The message

error: Microsoft Visual C++ 14.0 or greater is required. … ERROR: Failed building wheel for insightface

Affects: ComfyUI, AUTOMATIC1111 Stable Diffusion WebUI, SD.Next

Why is this happening?

insightface contains C++ code and is usually built by pip itself on Windows, which requires the Microsoft C++ Build Tools. It is needed for FaceID models in IPAdapter Plus and for older ReActor versions. ReActor version 0.7.0 and later works without insightface or Build Tools. The ReActor author also provides ready-made Windows wheels for insightface 0.7.3.

How to fix it

  1. If you use ReActor: update the node through the ComfyUI Manager to version 0.7.0 or newer, then run install.bat in the ComfyUI\custom_nodes\ComfyUI-ReActor folder. Then you no longer need insightface.
  2. For IPAdapter FaceID, insightface is still required. Check the Python version. Portable: open a terminal in the ComfyUI_windows_portable folder and run .\python_embeded\python.exe -V.
  3. Download the matching ready-made wheel from the Gourieff/Assets repository (folder Insightface): for example, insightface-0.7.3-cp312-cp312-win_amd64.whl for Python 3.12; there are files for 3.9 through 3.13. Place it in the ComfyUI_windows_portable folder.
  4. Portable: .\python_embeded\python.exe -m pip install -U pip and then .\python_embeded\python.exe -m pip install insightface-0.7.3-cp312-cp312-win_amd64.whl (adjust the filename).
  5. A1111 or SD.Next: In the program folder, run .\venv\Scripts\activate, then python -m pip install -U pip and pip install insightface-0.7.3-cp312-cp312-win_amd64.whl.
  6. If the node still reports “InsightFace is not installed” after that, first remove it with pip uninstall insightface (Portable: .\python_embeded\python.exe -m pip uninstall insightface) and then install the wheel again.
  7. If you want to build insightface yourself, install the Microsoft C++ Build Tools (see the entry “pip: Microsoft Visual C++ 14.0 or greater is required”).

Better not: Only download ready-made insightface wheels from the source the node author links to (Gourieff/Assets), not from random download sites.

Set up from scratch again

If it still doesn’t work after that, a fresh setup step by step often helps:

Terms for this

Similar errors

Sources

Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.