comfyui-reactor-node icon indicating copy to clipboard operation
comfyui-reactor-node copied to clipboard

Node nowhere to be found in the UI -> Add Node / Search

Open cubicalia opened this issue 2 years ago • 8 comments

First, confirm

  • [X] I have read the instruction carefully
  • [X] I have searched the existing issues
  • [X] I have updated the extension to the latest version

What happened?

After installing the node through the Manager and restarting ComfyUI, I don't seem to see the node anywhere in the UI, it won't even show on the search menu.

Steps to reproduce the problem

Your workflow

  • I've installed the node through the manager.
  • Restarted ComfyUI
  • Bug persisted
  • Fetched all updates for ComfyUI
  • Uninstalled the ReFactor Custom Node
  • Restarted ComfyUI
  • Reinstalled the ReFactor
  • Restarted ComfyUI
  • Still the node not showing

Sysinfo

  • Windows 11
  • NVidia RTX 4090 with latest studio driver

Relevant console log

Not sure

Additional information

No response

cubicalia avatar Nov 07 '23 01:11 cubicalia

I have the same issue.

Spearin avatar Nov 08 '23 18:11 Spearin

Probably your OS environment is not able to build Insightface during the installation process Try https://github.com/Gourieff/comfyui-reactor-node#insightfacebuild

Gourieff avatar Nov 08 '23 20:11 Gourieff

Or maybe you have another error To detect it right - show please your console log

Gourieff avatar Nov 08 '23 20:11 Gourieff

happens to me too on windows.. i've tried the manual insightfacebuild until the python_embeded\python.exe -m pip install insightface-0.7.3-cp311-cp311-win_amd64.whl but then it says

ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\AI STABLE DIFFUSION\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\cv2\cv2.pyd' Consider using the --user option or check the permissions.

so i use the --user like this in the cmd: python_embeded\python.exe -m pip install --user insightface-0.7.3-cp311-cp311-win_amd64.whl until it says successful, but still the reactor node doesn't show up when I search it

crimpproduction avatar Nov 11 '23 13:11 crimpproduction

I could use reActor in the webUI, but not in ComfyUI. I am in the same situation as [crimpproduction].

hamster-poodle avatar Nov 15 '23 01:11 hamster-poodle

so i use the --user like this in the cmd: python_embeded\python.exe -m pip install --user insightface-0.7.3-cp311-cp311-win_amd64.whl until it says successful, but still the reactor node doesn't show up when I search it

If you use the --user flag with pip install - it will install a package into the user's system directory but not into the embedded python's environment So literally you have no Insightface library inside your ComfyUI's python_embeded if you install it like this, that's why ReActor Node don't wanna work Try to install the package without --user If you get [WinError 5] Access is denied - this means that your User has no permissions to write files in the directory (try to run CMD as Administrator) OR maybe another process just blocks some files from being overwritten (e.g. running ComfyUI; try to close running apps and run the command again without --user)

Gourieff avatar Nov 15 '23 17:11 Gourieff

about, (IMPORT FAILED): D:\ComfyUI_windows_portable\ comfyui \custom_nodes\comfyui-reactor-node After half a month, I finally found the problem and made a record for my later friends. opencv-python==4.7.0 version too new will cause (IMPORT FAILED) Use the following cmd command to uninstall the original version and install the older version Under the cmd command D:\ComfyUI_windows_portable22\python_embeded enter: python.exe -m pip uninstall opencv-python Reinstall the old version python.exe -m pip install opencv-python==4.7.0.68 Below are the version numbers I looked up, which may need to be tried one by one opencv-python==4.7.0 (from versions: 3.4.0.14, 3.4.10.37 3.4.11.41, 3.4.11.43 3.4.11.45, 3.4.13.47, 3.4.15.55, 3.4.16.57, 3.4.16.59, 3.4.17.61, 3.4.17.63, 3.4.18.65, 4.3.0.38 4.4.0.40, 4.4.0.42 4.4.0.44, 4.4.0.46, 4.5.1.48, 4.5.3.56, 4.5.4.58, 4.5.4.60, 4.5.5.62, 4.5.5.64, 4.6.0.66 4.7.0.68, 4.7.0.72 4.8.0.74, 4.8.0.76 4.8.1.78)

gxbsyxh avatar Nov 21 '23 11:11 gxbsyxh

Modify this part in install.py: def run_pip(*args): subprocess.run([sys.executable, "-m", "pip","--user", "install", "--no-warn-script-location", *args])

m7rick avatar Jan 04 '24 11:01 m7rick