cubiq / ComfyUI_InstantID

Apache License 2.0
949 stars 51 forks source link

Failed to install on RUNPOD #111

Closed SanzExtz closed 3 months ago

SanzExtz commented 3 months ago

2024-03-25T06:28:22.688857902Z [!] x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Iinsightface/thirdparty/face3d/mesh/cython -I/tmp/pip-build-env-aarf4266/overlay/lib/python3.10/site-packages/numpy/core/include -I/venv/include -I/usr/include/python3.10 -c insightface/thirdparty/face3d/mesh/cython/mesh_core.cpp -o build/temp.linux-x86_64-cpython-310/insightface/thirdparty/face3d/mesh/cython/mesh_core.o 2024-03-25T06:28:22.690134812Z [!] error: command 'x86_64-linux-gnu-gcc' failed: No such file or directory 2024-03-25T06:28:22.691340513Z [!] [end of output] 2024-03-25T06:28:22.692656249Z [!]
2024-03-25T06:28:22.694109101Z [!] note: This error originates from a subprocess, and is likely not a problem with pip. 2024-03-25T06:28:22.695757891Z [!] ERROR: Failed building wheel for insightface 2024-03-25T06:28:22.697927232Z [!] ERROR: Could not build wheels for insightface, which is required to install pyproject.toml-based projects 2024-03-25T06:28:22.700233704Z install script failed: https://github.com/cubiq/ComfyUI_InstantID

thisguytux commented 3 months ago

Run apt update && apt upgrade && apt install build-essential and try again.

SanzExtz commented 3 months ago

Ok work thanks