pythongosssss / ComfyUI-WD14-Tagger

A ComfyUI extension allowing for the interrogation of booru tags from images.
MIT License
436 stars 51 forks source link

[ERROR] if init(check_imports=["onnxruntime"]): #26

Closed Cedri4 closed 4 months ago

Cedri4 commented 4 months ago

Terminal error, everything is updated. Traceback (most recent call last): File "F:\Stable-Diffusion\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1893, 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 "F:\Stable-Diffusion\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger__init__.py", line 3, in if init(check_imports=["onnxruntime"]): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Stable-Diffusion\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 119, in init install_js() File "F:\Stable-Diffusion\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 105, in install_js shutil.copytree(src_dir, dst_dir, dirs_exist_ok=True) File "shutil.py", line 561, in copytree File "shutil.py", line 459, in _copytree File "", line 225, in makedirs FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'F:\Stable-Diffusion\ComfyUI\ComfyUI_windows_portable\ComfyUI\web\extensions\pysssss/WD14Tagger'

Cannot import F:\Stable-Diffusion\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger module for custom nodes: [WinError 183] Cannot create a file when that file already exists: 'F:\Stable-Diffusion\ComfyUI\ComfyUI_windows_portable\ComfyUI\web\extensions\pysssss/WD14Tagger'

Cedri4 commented 4 months ago

I initially installed onnxruntime-gpu for dwopenpose but I think it causes problem for this custom node

Cedri4 commented 4 months ago

Got it working for now