Closed Ahjohn8520 closed 5 months ago
Missing wget dependencies, make sure all dependencies are installed from requirements.txt
but i use git clone https://github.com/chflame163/ComfyUI_LayerStyle.git to install, so to fix this, should I need to download the requirements.txt file into the custom_node folder?
but i use git clone https://github.com/chflame163/ComfyUI_LayerStyle.git to install, so to fix this, should I need to download the requirements.txt file into the custom_node folder?
You need install it use command ..\..\..\python_embeded\python.exe -m pip install -r requirements.txt
. Please read the README.MD carefully
Traceback (most recent call last): File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1864, 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 "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LayerStyle__init.py", line 60, in
imported_module = importlib.import_module(".py.{}".format(name), name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib\init__.py", line 126, in import_module
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\birefnet_func.py", line 1, in
from .imagefunc import *
File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\imagefunc.py", line 32, in
import wget
ModuleNotFoundError: No module named 'wget'
Cannot import D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LayerStyle module for custom nodes: No module named 'wget'