Install insightface comfyui with the new year. 9 ``` 接着激活该虚拟环境: ```bash conda activate insightface ``` #### 安装依赖库 进入项目的根目录后,通过 pip 来安装所需的依赖包: ```bash cd insightface pip install -r Jul 4, 2024 · (For Windows users) If you still cannot build Insightface for some reasons or just don't want to install Visual Studio or VS C++ Build Tools - do the following: (ComfyUI Portable) From the root folder check the version of Python: run CMD and type python_embeded\python. 11) or python_embeded\python. The best way to evaluate generated faces is to first send a batch of 3 reference images to the node and compare them to a forth reference (all actual pictures of the person). After installing the missing nodes of this workflow, install Insightface for Python 3. 아래와 같이 설치한 후 정상적으로 로딩이 되는 것을 확인하였는데요. Contribute to kijai/ComfyUI-LivePortraitKJ development by creating an account on GitHub. Jul 10, 2024 · But SwarmUI has an server>extension tab , that you can install a facetools extension that allows you to install ipadapter and the Reactor extension that rely on insightface to work directly from the UI that can be used by Comfy. The InsightFace model is antelopev2 (not the classic buffalo_l). Thanks. 8 for rtx 50 series, the embedded version of python is 3. InstantID requires insightface, you need to add it to your libraries together with onnxruntime and onnxruntime-gpu. exe的Python版本安装insightface,python3. i'm not sure if it was provided like this or if i updated it, mine is 3. 7. ComfyUI: https://github. whl (要根据python_embeded\python. 〇 各種モデル (ComfyUI Managerの「Model Manager」を使った方が間違いがない) 1. Oct 23, 2024 · 「python. Run Command Prompt (CMD) from the Root Folder: For ComfyUI Portable, simply open CMD from the root folder. 10. the reason and solution is simple. 12+. 注意 python_embeded 前为你的 ComfyUI 地址,install 后为你的 Insightface whl 文件名,后缀 whl 不能少。 运行命令,稍等片刻,即可安装成功。 当然,这是便携版 ComfyUI 的 Insightface 安装方式。 Dec 25, 2023 · (For Windows users) If you still cannot build Insightface for some reason or just don't want to install Visual Studio or VS C++ Build Tools - do the following: (ComfyUI Portable) From the root folder check the version of Python: run CMD and type python_embeded\python. I will only go over option 1 here. ComfyUI InsightFace Windows Fast Installation (2024) | NO MORE ERRORS FOR IPADAPTERS / ROOP. IPAdapter FaceID Model Update With ComfyUI The IP adapter Face ID… Read More »A Comprehensive Guide to Using the IP Adapter Face ID in ComfyUI for Fast and Simple Face Swap Extension for StableDiffusion WebUI (A1111 SD WebUI, SD WebUI Forge, SD. exe -V Download prebuilt Insightface package for Python 3. i experienced the same issues and almost tried everything. \insightface-0. exe -m pip uninstall insightface. 12; Place the downloaded file into the ComfyUI root folder if using ComfyUI Portable. x; Python 3. I. Seems like i was not the only one who had a problem and instead of giving a halfass answer here is a detailed step by step : **1 Install ComfyUI Apr 14, 2025 · Upgrade ComfyUI to the latest version! Download or git clone this repository into the ComfyUI/custom_nodes/ directory or use the Manager. ComfyUI nodes for LivePortrait. The latest Comfyui Windows Portable version uses Python 3. com/comfyanonymous/Com InsightFace Wheels: A user asks where to install Insightface in ComfyUI, a software for creating AI art. python. 9: ```bash conda create -n insightface python=3. FaceIDのモデル Feb 7, 2024 · ComfyUIにInsightFaceをインストールする方法を紹介します。InsightFaceのインストールでお困りの方に向けた記事です。紹介する手順はプリビルドパッケージを使用しているので、確実にインストールが可能です。 Feb 5, 2025 · 错误描述. 10) or python_embeded\python. whl文件复制到python_embeded文件夹下。 I almost gave up trying to install the ReActor node in comfyui, I tried this as a final step and surely enough it worked! Here you go I did this: I had to copy the site-packages the insightface as well as the insightface-0. Open the File Explorer App. 11装cp311,之前踩过坑是按照系统默认的python3. exe -m pip install “G:\SOFTWARE\2024\CUSTOM_NODES\insightFace\insightface-0. すると、進行中にコンパイルが行われます。で、開発環境が無いとエラーが出ます。 コンパイルエラーが出るので、ChatGPTに聞いてみました。 Jul 10, 2024 · Not exactly a fix but I found a work around that for now has resolved the whl issue. toml) Jan 1, 2025 · Installing ComfyUI on Windows. Take it into mind that insight face comes under non-commercial license, means you can use it for research and not for commercial one. . Create an environment with Conda. Instead of using ComfyUI directly I installed SwarmUI. Start ComfyUI and let the installation completes. Alternative: 6 days ago · We will provide you with detailed installation steps and precautions to help you smoothly set up your AI image generation environment. 8 ``` 对于 Python 3. Visit ComfyUI Online for ready-to-use ComfyUI environment In diesem Video zeige ich euch, wie ihr InsightFace und ReActor für das Stable Diffusion Interface ComfyUI installieren und verwenden könnt. whl (for 3. If you use Python 3. /python -m pip install insightface. x, run:. 10装的cp310,但python_embeded\python. 2 is not supported for onnx 1. それぞれのバージョンに対応するIn May 24, 2024 · D:\ComfyUI\python_embeded\python. Feb 2, 2024 · Stable Diffusion WebUI(AUTOMATIC1111)にInsightFaceをインストールする方法を紹介します。InsightFaceはFaceIDなどで必要になる機能ですが、インストール方法に癖があり、正常にインストールできないことがあります。この記事ではプリビルドパッケージを利用して確実にインストールできる方法を紹介します。 Jun 1, 2024 · python_embeded\python. 12 就下載 insightface-0. whl. Enter ComfyUI-InstantID in the search bar Jan 13, 2025 · そして、いよいよ insightface のインストールです。 C:\ComfyUI_windows_portable\python_embeded で. Navigate to the ComfyUI_windows_portable folder. ComfyUI has recently updated the Python version. 1. 3 : If nothing helps, let's install all the sh*t we possibly can. Step 1: Install 7-Zip Nov 7, 2024 · pip install insightface. 然后更新pip: python. exe -m pip install D:\Programy\ComfyUI\insightface-0. A new toy called the IP adapter Face ID has been launched, and it’s creating quite a buzz in the ComfyUI community. whl” onnxruntime Feb 18, 2024 · (初回編集時:2024年2月18日) (改訂時:2024年3月29日) ComfyUIでFaceIDを使う時につまずいたので書いておく。 (普段ComfyUIを使っている人向けに書くので、初歩的な内容はChatGPTなどに尋ねてください。) Insight Faceのインストール まずInsight Faceが必要なので、別途インストールする必要がある Mar 9, 2025 · 使用comfyui时,安装插件zenid、instantid、ip-adapter等换脸插件时,因为依赖insightface安装失败,导致插件中的节点无法正常使用,需要单独安装insightface。将下载好的insightface-0. Install Dependencies. Select Custom Nodes Manager button; 3. 3. ONNX Runtime "python_embeded"ディレクトリに移動して、 「python. 8: ```bash conda create -n insightface python=3. 5k次,点赞24次,收藏16次。使用IP-adapter下的faceID的时候,大家可能会遇到如下错误:当然了,这个错误比较明显,就是InsightFace没有安装导致的,那么这个InsightFace应该怎么安装呢?接下来就讲一下具体的安装方法。_insightface如何安装 Mar 18, 2024 · 对于 Python 3. Jun 5, 2024 · Download the InsightFace installation file. Go to \Comfy\ComfyUI and run CMD in the directory, and type in: Mar 20, 2024 · 这个工作流里面最经常出问题的就是insightface这个节点的。因为原作者并没有明确安装方法。所以这里以 comfyui 为例把安装方法分享在这里。 第一步:查询你的comfyui的内置python的版本。具体操作如下:打开comfyui的目录,如图1所示,进入 python_embeded 。在图2中红 Fast and Simple Face Swap Extension Node for ComfyUI - Gourieff/comfyui-reactor-node (ComfyUI Portable) python_embeded\python. dist-info from python311 to ComfyUI_windows_portable - python_embeded - lib - site-packages. exe -m pip install "ダウンロードしたファイルのフルパス"」 を実行 2. Python 3. 注意 python_embeded 前为你的 ComfyUI 地址,install 后为你的 Insightface whl 文件名,后缀 whl 不能少。 运行命令,稍等片刻,即可安装成功。 当然,这是便携版 ComfyUI 的 Insightface 安装方式。 Feb 21, 2025 · If you see the instantID nodes’ import failure due to Insight Face, you must install a version of Insight Face compatible with your Python installation. 通过whl文件重新安装InsightFace: python. Consult this guide for option 2. 16. 2 currently. Fast and Simple Face Swap Extension Node for ComfyUI - Gourieff/comfyui-reactor-node D:\ComfyUI\python_embeded\python. tar. Manual installation method Step 1: Download Insigh… May 22, 2024 · How to Install ComfyUI-InstantID Install this extension via the ComfyUI Manager by searching for ComfyUI-InstantID. Press enter and this should install InsightFace. For ComfyUI portable user, move inside "ComfyUI_windows_portable" folder. 3-cp312-cp312-win_amd64. Then, manually refresh your browser to clear the cache and access the updated list of nodes. exe -m pip install insightface-0. 12. 到這邊下載對應python版本的 例如:python3. My full command looks like this: python. toml Jan 6, 2025 · . 12) This extension uses DLib or InsightFace to perform various operations on human faces. Open that newly created folder (ComfyUI\custom_nodes\comfyui-reactor-node) and run the file called install. py", line 529, in load_insight_face raise Exception('IPAdapter: InsightFace is not installed! Install the missing dependencies if you wish to use FaceID models. exe -m pip install insightface. 通过whl文件重新安装InsightFace: Jan 6, 2025 · 13. Go back to the terminal. This part will introduce how to install ComfyUI on various devices and operating systems, including Windows, Mac, Linux, and other platforms. and it worked fine. x; Put the file in the ComfyUI_windows_portable folder. 10; For Python 3. bat; Run ComfyUI and find there ReActor Node inside the menu image/postprocessing or by using a pip install insightface-0. 12) (ComfyUI Portable) python_embeded\python. 11; For Python 3. \python_embeded\python. exe -m pip install . exe -m pip install Feb 16, 2025 · if you are using the current nightly of comfyui with cuda 12. InsightFace wird Jul 7, 2024 · ComfyUI 매니저를 통해 liveportrait를 설치하였으나 아래와 같이 모듈 로딩이 되지 않는 경우 ComfyUI 설치 환경에 따라 다를 수 있겠지만 저의 경우 insightface 가 설치되지 않아 발생한 현상이었습니다. exe -s -m pip install --force-reinstall insightface-0. 安装成功后我们的python_embeded文件夹内就会有 Nov 1, 2024 · Then install Insightface: (ComfyUI Portable) python_embeded\python. Oct 5, 2024 · After installation, click the Restart button to restart ComfyUI. whl Salut, J'essaye d'installer InsightFace sur ComfyUI pour pouvoir suivre un tutoriel sur FaceID. 12) Jan 7, 2025 · 打開會像這樣. 10) or python_embeded\python (ComfyUI Portable) python_embeded\python. whl文件复制到python_embeded文件夹下。 python. Le fichier bat de ComfyUI commence comfyui % pip install insightface Collecting insightface Using cached insightface-0. Jan 28, 2024 · 用到臉部偵測相關的ComfyUI Custom Node都需要在ComfyUI安裝到insightface python. Click the Manager button in the main menu; 2. ') Jan 19, 2025 · (ComfyUI Portable) python_embeded\python. See the links, commands, and warnings for different Python versions and Windows systems. Another user provides a link to a GitHub issue with instructions, and a YouTube video with a fast installation method. 12) Oct 8, 2024 · Face Analysis for ComfyUI Introduction. Two options to install ComfyUI on Windows: Standalone zip; Manual installation; If you are not a developer of ComfyUI, you should use option 1. 2) Jan 3, 2024 · It seems like there’s a lot of excitement in the world of stable diffusions and image generative A. Type in python. whl 的方式强制重装insightface,安装过程很顺利,也请清楚地显示我安装完成了,但是我启动绘世启动器之后,还是熟悉的开始安装onnxruntime,开始按照requierments文档自动安装 Feb 24, 2025 · After installation, click the Restart button to restart ComfyUI. 3-cp310-cp310-win_amd64. 通常出现在 InstantID 或 IP-Adapter 的安装时,有时通过在线安装也无法解决。. exe -m pip install Cython. python 3. exe -m pip install insight (and press tab to autocomplete or type the full insightface file name). 15. Insightface is a very important plug-in for comfyui. exe -s -m pip install insightface-0. Option 2 is for folks who like to tinker with codes. exe -m pip install --upgrade pip setuptools wheel. whl file: For Python 3. Run install. You must install InsightFace before using the Face ID workflows. L:\ComfyUI\python_embeded\python. exe是311版本! install. Jul 20, 2024 · 进入ComfyUI根目录:打开终端,输入命令行进入ComfyUI的根目录。 我们输入以下命令. whl Dec 21, 2024 · Download the Prebuilt Insightface Package: Based on your Python version, download the appropriate . 安裝 Cython. ComfyUI_FaceAnalysis is an extension designed to help AI artists evaluate and compare facial images. exe -m pip install -U pip. Open command prompt and type these command: python_embeded\python. By leveraging advanced face recognition technologies like DLib and InsightFace, this extension calculates the Euclidean and Cosine distances between two faces. 11 2. gz (439 kB) Installing build dependencies done Getting requirements to build wheel done Preparing metadata (pyproject. Next, Cagliostro) - Gourieff/sd-webui-reactor Dec 22, 2023 · File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus. Sep 3, 2024 · C:\Windows\system32>python. whl Requirement already satisfied: numpy in d:\programy\python\lib\site-packages (from insightface==0. Install Miniconda. Without insightface, our IP-adapter or InstantID cannot be used, so everyone must install it. 缺少Insightface ComfyUI IstantID 导入失败 解决方法. In the address bar, type cmd and press Enter. This will help you install the correct versions of Python and other libraries needed by ComfyUI. ComfyUI Installation Methods on Different Devices. 13. 10装cp310,python3. Installation with ComfyUI Manager Install the custom node Install the models Install insightface pip install onnxruntime Install InstantID model Install InstantID ControlNet model Downloading and loading an InstantID workflow I hope this helps those who are having difficulty installing InstantID in your ComfyUI. La première fois, j'ai essayé de l'installer en utilisant "pip install insightface" et il était apparemment installé mais j'ai réalisé que l'installation s'était produite sur le chemin système pour python, et non sur le dossier python inclus dans ComfyUI. 如之前安装失败请先卸载: python. 升級pip. 3-cp311-cp311-win_amd64. The most obvious is to calculate the similarity between two faces. exe -V たぶん3. I had issues in the past with installing insightface for custom workflows and nodes like those provided for photomaker or I Dec 11, 2024 · 使用comfyui时,安装插件zenid、instantid、ip-adapter等换脸插件时,因为依赖insightface安装失败,导致插件中的节点无法正常使用,需要单独安装insightface。将下载好的insightface-0. Swarm uses a ComfyUI backend and has ComfyUI built-in allowing you the same node layout structure with the addition of other features that are really great. Jun 5, 2024 · Install InsightFace for ComfyUI. 14. 下载Insightface到本地,通过pip安装,具体步骤如下: May 22, 2006 · 오류 메시지가 길어 포스팅 하단에 작성해뒀습니다. You first need to determine what Python version you are using. 26. ComfyUIで使われているPythonのバージョンを確認する $ cd path\to\ComfyUI_windows_portable $ python_embeded\python. bat 2. Users share their tips and issues on how to install insightface, a facial recognition library, for ComfyUI, a software for creating AI art. 17. exe -m pip install onnxruntime」を実行. 10 or for Python 3. 0, which is the reason building the . run in ComfyUI/custom_nodes: git clone https: pip install insightface 或者对于便携版本,在ComfyUI_windows_portable文件夹中: . 오류 메시지를 확인하니 insightface설치 중 생긴 오류로 해당 insightface를 수동 설치해줬습니다. whl Learn how to install insightface. 11. 3) (1. whl Processing d:\programy\comfyui\insightface-0. Visit ComfyUI Online for ready-to-use ComfyUI environment 很多使用webui,comfyUI的用户,如果要使用脸部一致性,换脸模型(reactor,facefusion,FaceID)的都会需要安装一个叫Insightface的包。这个包安装经常会遇到一些问题。下面基于我的个人经验总结以下安装的步骤。… 文章浏览阅读1. rczr mwoztx vbrkuvoo mtvze kuuvdb sax miiujhw hkyee xucmk rrwg itaf qcyp emie utkb vmhdnb