Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

解决ComfyUI无法加载节点文件 #142

Open
sxg2020 opened this issue May 26, 2024 · 1 comment
Open

解决ComfyUI无法加载节点文件 #142

sxg2020 opened this issue May 26, 2024 · 1 comment

Comments

@sxg2020
Copy link

sxg2020 commented May 26, 2024

按照首页的全部操作步骤安装好instantID并且下载好相应文件放入位置后打开confyui加载工作流中的模板.json文件后,与instantID有关的节点都红色。
我自己查阅相关教程,解决了问题,有相同问题的可以尝试。
先找到自己comfyui里面的python_embeded文件夹,我们要用这个python来执行pip操作。查看这个python的版本号,然后进入下面这个网址下载相应的文件,放在一个好找到的位置。
https://github.com/Gourieff/Assets/tree/main/Insightface
我查看到的是3.11的python,所以下载cp311这个。然后进入ComfyUI根目录(有.ci,.git之类的那个文件夹),执行cmd(打开终端),执行下面的安装(根据自己的文件路径做相应修改)。安装成功之后重启就可以。
D:\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\python.exe -m pip install "D:\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\insightface-0.7.3-cp311-cp311-win_amd64.whl" onnxruntime

@yuganxia
Copy link

帮大忙了老哥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants