TinyTerra / ComfyUI_tinyterraNodes

A selection of nodes for Stable Diffusion ComfyUI
GNU General Public License v3.0
332 stars 39 forks source link

No module named 'spandrel' #120

Closed curlysasha closed 2 weeks ago

curlysasha commented 1 month ago
Traceback (most recent call last):
  File "/home/oem/ComfyUI/nodes.py", line 1879, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/oem/ComfyUI/custom_nodes/ComfyUI_tinyterraNodes/__init__.py", line 1, in <module>
    from .ttNpy.tinyterraNodes import TTN_VERSIONS
  File "/home/oem/ComfyUI/custom_nodes/ComfyUI_tinyterraNodes/ttNpy/tinyterraNodes.py", line 52, in <module>
    from spandrel import ModelLoader, ImageModelDescriptor
ModuleNotFoundError: No module named 'spandrel'

solved by pip install spandrel

please fix

TinyTerra commented 1 month ago

You either need to revert ttN to a commit before https://github.com/TinyTerra/ComfyUI_tinyterraNodes/commit/bb53525551294e851f69a5195a37cc591c48bcf4

Or update comfyui