mav-rik/facerestore_cf

ModuleNotFoundError with FaceRestoreHelper

Closed this issue · 1 comments

I'm struggling to install this facerestore_cf custom node. When I start ComfyUI I get this error message:
`Traceback (most recent call last):
File "C:\Users\me\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1872, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Users\me\ComfyUI_windows_portable\ComfyUI\custom_nodes\facerestore_cf_init
.py", line 8, in
from custom_nodes.facerestore_cf.facelib.utils.face_restoration_helper import FaceRestoreHelper
ModuleNotFoundError: No module named 'custom_nodes.facerestore_cf'

Cannot import C:\Users\me\ComfyUI_windows_portable\ComfyUI\custom_nodes\facerestore_cf module for custom nodes: No module named 'custom_nodes.facerestore_cf'`

I've tried installing via the Manager as well as manually, and uninstalling and reinstalling. Also tried updating, but no joy. What am I doing wrong?

Turns out it was my own fault. I ran update_comfyui_and_python_dependencies.bat from the ComfyUI_windows_portable\update folder and it seems to have fixed some dependencies. After tha,t this node ran fine when I restarted Comfyui.