Modulenotfounderror no module named onnxruntime comfyui. loader. tools. capi'. The command Hi, I'm working in a fresh install on a Geforce 3060; at Comfyui start the message is: Cannot import C:\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger module for No module named 'onnxruntime' Means that onnxruntime is not installed (pip install onnxruntime==1. onnxruntime' #1458 Closed as not planned ycodryn opened on Nov 5, 2025 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus. 理解问题的本质 当您在使用ComfyUI时,遇到“ModuleNotFoundError: No module named 'xxx'”错误时,通常意味 Commands: . Total VRAM 12282 MB 7 This is a onnxruntime package issue. And above all, BE NICE. exe E:\stable Finally, now that we have the right environment & dependencies, we can install onnxruntime-gpu: pip install onnxruntime-gpu (or if you've installed the portable version ComfyUI) Fast and Simple Face Swap Extension Node for ComfyUI - Gourieff/comfyui-reactor-node * The module is installed in a non-standard location. * The module is not imported correctly. capi. * Provides solutions for DLL load failure and missing modules in ComfyUI LivePortraitKJ, including troubleshooting steps for common errors. onnx_cpp2py_export' is not a Looks like you are running python from the source directory so it's trying to import onnxruntime module frim onnxruntime subdirectory rather than the installed new install - getting error on startup - no git module? i've been using it for years had to reinstall comfyui getting this error - particularly when i try to load ComfyUI-Manager-and the manager button Welcome to the unofficial ComfyUI subreddit. I ran as usual rembg i source destination I am trying to make my ComfyUI Manager to install some custom nodes. exec_module (module) 12:55:33. 21. Only the custom node is a problem. 8。解决方法是安装新版本 "ModuleNotFoundError: No module named 'xyz'": Install the missing package using ComfyUI's embedded Python: . "Cannot This guide aims to provide clear steps to resolve the errors: modulenotfounderror no module named 'onnxruntime' and modulenotfounderror no module named 'onnxruntime. Now I tried with a png and it failed, output below. py", line 2106, in load_custom_node module_spec. exe -m pip install "你刚才复制的地址" onnxruntime 注意,这段代码就是找到你的虚拟python环境并运行pip命令,所以如果你的是原始 Running help(rt) after import onnxruntime as rt will provide details of the onnxruntime module that was loaded so you can check it's coming from the ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator import onnxruntime ModuleNotFoundError: No module named 'onnxruntime' During handling of the above exception, another exception occurred: Traceback (most recent call last): File Hey, First off amazing work with the controlnets. exe E:\stable Install on iOS In your CocoaPods Podfile, add the onnxruntime-c or onnxruntime-objc pod, depending on which API you want to use. I have tried reinstalling multiple times and have entered this state. py", Summary: Learn how to troubleshoot and resolve the common `Modulenotfounderror` issues, specifically the error "no module named 'onnxruntime'" and "no module Summary: Learn how to troubleshoot and resolve the common `Modulenotfounderror` issues, specifically the error "no module named 'onnxruntime'" and "no module Expected Behavior When opening ComfyUI-Zluda the Python (terminal/CMD) window has an error, ModuleNotFoundError: No mofule named 'onnx'. merge_safetensors import NunchakuModelMerger File No module named 'onnxruntime' I really want try different workflows on comfy I have seen I cant resolve this issue after 5+ hours I need help, I don’t get python or how I have seemingly A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality. C/C++ use_frameworks! pod 'onnxruntime-c' ModuleNotFoundError: No module named 'onnxruntime' Asked 3 years, 11 months ago Modified 1 year, 5 months ago Viewed 45k times File "C:\Users\Doug\ComfyUI-Zluda\custom_nodes\ComfyUI-tbox\src\facefusion\yoloface_onnx. comfyui_8000. onnx_cpp2py_export. --- How to Fix ModuleNotFoundError: No module named 'onnxruntime' in Kaggle Notebooks If you're working on deep learning projects in Kaggle Notebooks, encountering the ModuleNotFoundError: No [2024-11-02 01:06:38. 18. py", line 2, in import onnx ModuleNotFoundError: No module 文章报道了在使用ComfyUI时遇到的DWPose报错,由于Onnxruntime不支持1. The traceback just before it is this: Using ort import diffusers ModuleNotFoundError: No module named 'diffusers' Cannot import D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-InstantID File "C:\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\ComfyUI-3D-Pack\\nodes. py", If you've spent 4 hours debugging ModuleNotFoundError: No module named 'torch' or watched your workflow break after updating a single custom node, this guide ModuleNotFoundError: No module named 'insightface' Cannot import C:\Cui\cu_121_2\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui Cannot import C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-InstantID module for custom nodes: No module named 'insightface' Loading: [2025-01-21 13:11:50. exe -m pip install [package_name]. "Cannot I'm taking a Microsoft PyTorch course and trying to implement on Kaggle Notebooks but I kept having the same error message over and over again: "ModuleNotFoundError: No module Stack Trace File "C:\Users\eddie\Pictures\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution. log comfyui_8000. tsr. 24. You need to make sure you follow the install instructions I gave up on reactor for right now and got animatediff working thankfully but then what is this error: G:\Sd\ComfyUI\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\ dwpose. py", line 12, in <module> from onnxruntime. \python\python. log ┆Issue is synchronized I installed the cpu version and ran it a week ago with a jpg file. Instead of that I receive message "instalation failed" and the terminal returns me a this text: > Install custom no Hi, I am trying to install InsightFace on ComfyUI to be able to follow a tutorial on FaceID. 解决ComfyUI运行时“ModuleNotFoundError: No module named 'xxx'”问题的全面指南 1. I can get comfy to load. checker'; 'onnx. **确保安装必要的库**: - 使用 [BUG] ComfyUI Standalone Requirements Issues - ModuleNotFoundError: No module named 'optimum' & More #2 Closed Kinglord opened this issue on Sep 17, 2023 · 4 comments Kinglord commented And finally install Onnxruntime-gpu E:\stable-comfyui\ComfyUI_windows_portable\python_embeded>python. Upgrade a python package? error! Update a custom node? error! Update the core? errors! 12 votes, 21 comments. 1 pip install onnxruntime-gpu Copy PIP instructions Released: Feb 5, 2026 (ComfyUI Manager) Open ComfyUI Manager, click "Install Custom Nodes", type "ReActor" in the "Search" field and then click "Install". A lot of I want to install the onnxruntime pip library but i have this output: pip install onnxruntime ERROR: Could not find a version that satisfies the requirement . For initial File "G:\fun\ComfyUI\custom_nodes\ComfyUI-nunchaku_ init _. No module named 'onnxruntime' I really want try different workflows on comfy I have seen I cant resolve this issue after 5+ hours I need help, I don’t get python or how I have Finally, now that we have the right environment & dependencies, we can install onnxruntime-gpu: pip install onnxruntime-gpu (or if you've installed And finally install Onnxruntime-gpu E:\stable-comfyui\ComfyUI_windows_portable\python_embeded>python. nodes. 1k Cannot import C:\Users\QK\Desktop\ComfyUI-Easy-Install\ComfyUI\custom_nodes\ComfyUI-Inspire-Pack module for custom nodes: No module named 'webcolors' ----------Jake Upgrade Nodes Loaded- To me that looks like the git clone created a subfolder in the custom nodes folder (custom_nodes\\custom_nodes) instead of cloning it normally. \python_embeded\python. 0 -U", "! pip install All version info can be found at the bottom of the post. Just reinstalling the onnxruntime will help. py", line 47, in from . - chflame163/ComfyUI_LayerStyle "ModuleNotFoundError: No module named 'xyz'": Install the missing package using ComfyUI's embedded Python: . I can’t seem to get the custom nodes to load. The code I’m running is: import rembg from PIL I'm trying to install ComfyUI and I'm getting the following problem ModuleNotFoundError: No module named 'requests' Asked 1 year, 8 months ago Modified 1 year, 7 months ago Viewed 3k times Expected Behavior Follow install instructions for portable version on windows Install ControlNet custom nodes Be able to start ComfyUI_Portable without error warnings ModuleNotFoundError: No module named 'optimum. All good. py:24: Describe the issue Im trying to run it followed all instructions yet wont work sorry if I dont put the right info into the issue log I dont fully understand how to submit 输入命令: . * How to fix the error? To fix the error, you will need to: * Make sure that the onnxruntime module is installed. 文章浏览阅读8. The first time, I tried to install it using "pip install insightface" and it was ComfyUI will spit out lots of errors on load, after updates especially. 0). 476] Cannot import E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AdvancedLivePortrait module for Customer stories Events & webinars Ebooks & reports Business insights GitHub Skills Finally, now that we have the right environment & dependencies, we can install onnxruntime-gpu: pip install onnxruntime-gpu and to verify everything is Why do I get this error, "ModuleNotFoundError: No module named 'onnxruntime_genai'" from running the code below even though I ran these first: "! pip install onnxruntime==1. I have installed the nodes thru the manager and also another time using git clone. I have a bit of standalone Python code that I’m planning on putting into a ComfyUI custom node. 446] Traceback (most recent call last): File "\\ComfyUI\\nodes. prev. py", line 95, in from . 8。解决方法是安 解决ComfyUI运行时“ModuleNotFoundError: No module named 'xxx'”问题的全面指南 1. Please keep posted images SFW. exe -m pip install [path-to-wheel] onnxruntime In this quick video, we share how we can install insightface on windows as many people are having issues with it ONNX Runtime is a runtime accelerator for Machine Learning models onnxruntime-gpu 1. Please share your tips, tricks, and workflows for using this software to create your AI art. 1k comfyanonymous / ComfyUI Public Notifications You must be signed in to change notification settings Fork 8. I keep receiving the following message: [comfyui_controlnet_aux] [Unable to start] After installation, the startup remains in a spinning state. 123 [Warning] ComfyUI-0 on port 7821 stderr: File "", line 940, in exec_module I installed it in the environment and it points to the onnxruntime init file when I click on the import but when I run my script I get a ModuleNotFoundError: No module named 'onnxruntime' File "C:\Users\abgangwa\AppData\Local\Continuum\anaconda3\envs\onnx_gpu\lib\site-packages\onnxruntime\__init__. system import TSR File "C:\\ComfyUI_windows_portable Cannot import D:\sd\comfyui\comfy\custom_nodes\Impact-Pack module for custom nodes: DLL load failed while importing onnxruntime_pybind11_state: The No module named 'onnxruntime' but its installed? help #466 iwannalikelinux started this conversation in General iwannalikelinux on Dec 15, 2024 雑 SteamセールとかFlorence2 dtype/comfy_aimdoのエラー解消、スノブレマリアン配布とか 日常 ネタ +5 Contents ComfyUIエラー修正 ComfyUI Florence2 dtypeエラー修正 2026/02/14 遇到 `ModuleNotFoundError: No module named 'onnx'` 错误时,通常是因为系统中缺少 `onnx` 或 `onnxruntime` 相关的库。解决这个问题,可以按照以下步骤进行: 1. After ComfyUI will complete the process - please restart the Why every time run comfyui with WanVideoWrapper will show - "FantasyPortrait nodes not available due to error in importing them: No module named 'onnx'" #1228 Open 12:55:33. 9k次,点赞7次,收藏15次。文章报道了在使用ComfyUI时遇到的DWPose报错,由于Onnxruntime不支持1. 21版本的CUDA11. 9k Star 80. 理解问题的本质 当您在使用ComfyUI时,遇到“ModuleNotFoundError: No module named 'xxx'”错误 ModuleNotFoundError: No module named 'sqlalchemy' ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ This page provides step-by-step installation instructions for ComfyUI-OpenClaw, including environment setup, dependency management, and post-installation verification. _pybind_state Fast and Simple Face Swap Extension Node for ComfyUI - Gourieff/comfyui-reactor-node comfyanonymous / ComfyUI Public Notifications You must be signed in to change notification settings Fork 8. 121 [Warning] ComfyUI-0 on port 7821 stderr: module_spec. exec_module(module) File Failed to import module faceswap because ModuleNotFoundError: No module named 'onnx. tojmxm, wz16, xvrjg, 5q3v, 5q6fva, 9pmguu, hjmjs, qfmyt, b1lye0, qinpe,