- run the update bat scripts from the update directory to ensure that the latest version of comfy is installed, do not rely on the manager even if it says that everything’s updated it might not be true
- be sure to have the latest version of ipadapter extension installed
- delete the directories from inside ipadapter extension and reactor if you have it… just in case
__pycache__
- upgrade pip
python_embeded\python.exe -m pip install -U pip
- install insightface
python_embeded\python.exe -m pip install insightface
On windows to compile insightface you need Visual Studio installed or the “Desktop Development with C++” from VS C++ Build Tools.
Alternatively you can download the pre-compiled version from here. Select the file based on your python version is for python 3.10, if for python 3.11. To know what version of python you have use: cp310
cp311
python_embeded\python.exe -V
Then you can install it with or for python 3.11.python_embeded\python.exe -m pip install insightface-0.7.3-cp310-cp310-win_amd64.whl
cp311
If you have inisghtface already installed remove it with and repeat the process.python_embeded\python.exe -m pip uninstall insightface
It’s not my fault that Tencent Labs chose inisghtface as provider and Insightface is such a pain.
I honestly don’t remember if onnx is automatically installed, just in case you can try to also manually install and (if you want),onnxruntime
onnxruntime-gpu
On a Mac I have no idea, if it’s any close to linux you just have to install it with pip, be sure to activate the comfyui environment first. Note the I’m not sure it will work on a Mac anyway. Software support is not great on anything that is not Cuda.
运行前双击update_comfyui_and_python_dependencies.bat 目录下能找到
1.更新
python_embeded\python.exe -m pip install -U pip
2.安装
python_embeded\python.exe -m pip install “install insightface-0.7.3-cp310-cp310-win_amd64.whl的路径“
3.安装insightface
python_embeded\python.exe -m pip install insightface
4.安装onnxruntime
pip install onnxruntime
pip install onnxruntime-gpu
5.特殊情况卸载
python_embeded\python.exe -m pip uninstall insightface