Acly/comfyui-inpaint-nodes

I keep getting this same error: File "E:\Pinokio\api\comfyui\app\custom_nodes\comfyui-inpaint-nodes\nodes.py", line 14, in <module> from comfy_extras.chainner_models.types import PyTorchModel

Superdrew907 opened this issue · 4 comments

i keep getting this error, I dont know what I'm doing wrong. I'm a novice at best any help would be appericated.

File "E:\Pinokio\api\comfyui\app\nodes.py", line 1879, 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 "E:\Pinokio\api\comfyui\app\custom_nodes\comfyui-inpaint-nodes_init
.py", line 21, in
from . import nodes
File "E:\Pinokio\api\comfyui\app\custom_nodes\comfyui-inpaint-nodes\nodes.py", line 14, in
from comfy_extras.chainner_models.types import PyTorchModel
ModuleNotFoundError: No module named 'comfy_extras.chainner_models.types'

Cannot import E:\Pinokio\api\comfyui\app\custom_nodes\comfyui-inpaint-nodes module for custom nodes: No module named 'comfy_extras.chainner_models.types

Far as I can tell: comfy_extras.chainner_models.types doesn't exist. so it cant import PyTorchModel.

Thank you for your time.

ComfyUI made these breaking changes today:

  • Replace chainner_models with Spandrel package (#2146)
  • Replace chainner_models with Spandrel
  • Update to latest spandrel
  • Use spandrel_foss instead
  • update spandrel to new FOSS-compliant version

This repo needs to be updated to reflect these changes.

I dont know how to do any of that so i'll just wait for the repo to be updated. Thanks again!

Came here with this same problem.

Acly commented

Should work again now, please update.