cubiq / ComfyUI_InstantID

Apache License 2.0
1.29k stars 72 forks source link

动态链接库(DLL)初始化例程失败。 #215

Open cxpic opened 1 month ago

cxpic commented 1 month ago

 * Comfly Loaded : fly, just fly Traceback (most recent call last): File "E:\ccoo\ai\ComfyUI\nodes.py", line 1993, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "E:\ccoo\ai\ComfyUI\custom_nodes\ComfyUI_InstantID__init__.py", line 1, in from .InstantID import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "E:\ccoo\ai\ComfyUI\custom_nodes\ComfyUI_InstantID\InstantID.py", line 13, in from insightface.app import FaceAnalysis File "E:\ccoo\ai\ComfyUI.ext\Lib\site-packages\insightface__init.py", line 16, in from . import model_zoo File "E:\ccoo\ai\ComfyUI.ext\Lib\site-packages\insightface\model_zoo\init__.py", line 1, in from .model_zoo import get_model File "E:\ccoo\ai\ComfyUI.ext\Lib\site-packages\insightface\model_zoo\model_zoo.py", line 11, in from .arcface_onnx import File "E:\ccoo\ai\ComfyUI.ext\Lib\site-packages\insightface\model_zoo\arcface_onnx.py", line 10, in import onnx File "E:\ccoo\ai\ComfyUI.ext\Lib\site-packages\onnx__init__.py", line 77, in from onnx.onnx_cpp2py_export import ONNX_ML ImportError: DLL load failed while importing onnx_cpp2py_export: 动态链接库(DLL)初始化例程失败。

Cannot import E:\ccoo\ai\ComfyUI\custom_nodes\ComfyUI_InstantID module for custom nodes: DLL load failed while importing onnx_cpp2py_export: 动态链接库(DLL)初始化例程失败。

delcompan commented 1 month ago

Onnx version problem, uninstall version 1.16.2 python -m pip install onnx==1.16.1

gaoming714 commented 3 weeks ago

Onnx version problem, uninstall version 1.16.2 python -m pip install onnx==1.16.1

it woks ,why?