Nuked88 / ComfyUI-N-Nodes

A suite of custom nodes for ConfyUI that includes GPT text-prompt generation, LoadVideo, SaveVideo, LoadFramesFromFolder and FrameInterpolator
MIT License
198 stars 23 forks source link

[BUG] llama_cpp module not found #75

Open Fjfifnrkdo opened 3 weeks ago

Fjfifnrkdo commented 3 weeks ago

Describe the bug The MacOS produces “ModuleNotFoundError: No module named ‘llama_cpp’

To Reproduce Steps to reproduce the behavior:

  1. Try importing the node via ComfyUI manager on a MacOS device.

Expected behavior For it to download like most nodes do already on ComfyUI, cross device compatibility.

secretivebanana commented 2 weeks ago

Had a similar or same error. I fixed it by:

  1. Close ComfyUI.
  2. Activate ComfyUI virtual environment (venv) from venv/scripts/activate.bat.
  3. In the command window: pip uninstall llama-cpp-python.
  4. Then again in command window: pip install llama-cpp-python.
  5. Re-open ComfyUI.