ZHO-ZHO-ZHO / ComfyUI-InstantID

Unofficial implementation of InstantID for ComfyUI
1.35k stars 78 forks source link

HF_HOME #88

Open fogostudio opened 9 months ago

fogostudio commented 9 months ago

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)

feesavage commented 3 months ago

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