kijai / ComfyUI-LivePortraitKJ

ComfyUI nodes for LivePortrait
MIT License
1.67k stars 128 forks source link

albumentations module missing and i can't get it installed properly #20

Closed zahdab closed 4 months ago

zahdab commented 4 months ago

I manged to get insightface installed by installing reactor thought i get the below error on launching comfyui

Traceback (most recent call last): File "D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1907, 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:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node__init.py", line 23, in from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\nodes.py", line 27, in from scripts.reactor_faceswap import ( File "D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\scripts\reactor_faceswap.py", line 14, in from scripts.reactor_swapper import ( File "D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\scripts\reactor_swapper.py", line 9, in import insightface File "D:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\insightface__init__.py", line 18, in from . import app File "D:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\insightface\app\init__.py", line 2, in from .mask_renderer import * File "D:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\insightface\app\mask_renderer.py", line 4, in import albumentations as A ModuleNotFoundError: No module named 'albumentations'

Cannot import D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node module for custom nodes: No module named 'albumentations'

Import times for custom nodes: 0.0 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py 0.1 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite 0.1 seconds (IMPORT FAILED): D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LivePortrait 0.2 seconds (IMPORT FAILED): D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node 0.3 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager 0.3 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes 5.7 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MotionDiff

If i do a Python - pip install of albumentations i get a "already satisfied" response IF i install via the comfy manager pip installer, i can launch without issues ( the worflow still doesn't transfer the animation though ) however, upon restarting comfyui i get the same error again

zahdab commented 4 months ago

Fixed it by Uninstalling and reinstalling the module via pip