deepinsight / deepinsight/insightface
Building wheel for insightface (pyproject.toml): finished with status 'error'
- Dominant language
- Python
- Stars
- 29.7k
- Forks
- 6.1k
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to install insightface but always returning this:
```
[!] Building wheel for insightface (pyproject.toml) did not run successfully.
[!] exit code: 1
[!]
[!] [213 lines of output]
```
Looking at the output I guess that the most important lines are:
```
[!] C:\ComfyUI\ComfyUI_windows_portable_2\python_embeded\Lib\site-packages\setuptools\command\build_py.py:212: _Warning: Package 'insightface.thirdparty.face3d.mesh.cython' is absent from the `packages` configuration.
[!] C:\ComfyUI\ComfyUI_windows_portable_2\python_embeded\Lib\site-packages\setuptools\command\build_py.py:212: _Warning: Package 'insightface.data.images' is absent from the `packages` configuration.
[!] C:\ComfyUI\ComfyUI_windows_portable_2\python_embeded\Lib\site-packages\setuptools\command\build_py.py:212: _Warning: Package 'insightface.data.objects' is absent from the `packages` configuration.
```
I also noted this:
`(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/)`
I downloaded and looks like it is installed but I can't confim it :-(
Any clues to fix all this mess?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Windows installation failure and review the complete wheel-build output rather than only the package warnings. Check whether the required Microsoft C++ Build Tools are discoverable in the ComfyUI embedded Python environment; done means insightface installs successfully without the reported build error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100