ComfyUI-InstantID icon indicating copy to clipboard operation
ComfyUI-InstantID copied to clipboard

HF_HOME

Open fogostudio opened this issue 1 year ago • 1 comments

I'm getting this error at launch:

Traceback (most recent call last): File "F:\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:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-InstantID_init.py", line 1, in from .InstantIDNode import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-InstantID\InstantIDNode.py", line 1, in import diffusers File "F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers_init_.py", line 5, in from .utils import ( File "F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\utils_init_.py", line 21, in from .constants import ( File "F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\utils\constants.py", line 17, in from huggingface_hub.constants import HF_HOME ImportError: cannot import name 'HF_HOME' from 'huggingface_hub.constants' (F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\constants.py)

fogostudio avatar Feb 03 '24 23:02 fogostudio

just uninstall huggingface_hub and install it again; Or upgrade it . That is because the version is too low.

feesavage avatar Jul 27 '24 02:07 feesavage