portu-sim / comfyui_bmab

BMAB for ComfyUI
GNU Affero General Public License v3.0
93 stars 7 forks source link

IMPORT FAILED - NO BLEND MOES MODULE? #18

Closed aifuzz59 closed 6 months ago

aifuzz59 commented 6 months ago

can you help with this error?

File "D:\ComfyUI_tutorial\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_bmab\bmab\process.py", line 4, in from blendmodes.blend import blendLayers, BlendType ModuleNotFoundError: No module named 'blendmodes'

portu-sim commented 6 months ago

Sorry I'll add blendmodes to requrements.txt You can fix this problem like this. If you install ComfyUI Manager. You can install package in ComfyUI Manager

image

then pop up dialog. just put "blendmodes" into popup. and install.

portu-sim commented 6 months ago

blendmodes is in requirements. How do you install comfyui_bmab?

aifuzz59 commented 6 months ago

I git clone from github

portu-sim commented 6 months ago

after clone you install dependencies.

cd D:\ComfyUI_tutorial\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ cd ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_bmab D:\ComfyUI_tutorial\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\python.exe -m pip install -r requirements.txt

The most safe way, install custom node from ComfyUI Manager.