kijai / ComfyUI-CCSR

ComfyUI wrapper node for CCSR
https://csslc.github.io/project-CCSR/
186 stars 14 forks source link

import failing - new issue #8

Open alenknight opened 8 months ago

alenknight commented 8 months ago

getting this error when trying to install (i'm running python 3.11)

 File "C:\AI\ComfyUI\python_embeded\Lib\site-packages\pytorch_lightning\callbacks\__init__.py", line 14, in <module>
    from pytorch_lightning.callbacks.batch_size_finder import BatchSizeFinder
  File "C:\AI\ComfyUI\python_embeded\Lib\site-packages\pytorch_lightning\callbacks\batch_size_finder.py", line 26, in <module>
    from pytorch_lightning.callbacks.callback import Callback
  File "C:\AI\ComfyUI\python_embeded\Lib\site-packages\pytorch_lightning\callbacks\callback.py", line 22, in <module>
    from pytorch_lightning.utilities.types import STEP_OUTPUT
  File "C:\AI\ComfyUI\python_embeded\Lib\site-packages\pytorch_lightning\utilities\__init__.py", line 18, in <module>
    from lightning_fabric.utilities import (
ImportError: cannot import name 'measure_flops' from 'lightning_fabric.utilities' (C:\AI\ComfyUI\python_embeded\Lib\site-packages\lightning_fabric\utilities\__init__.py)

Cannot import C:\AI\ComfyUI\ComfyUI\custom_nodes\ComfyUI-CCSR module for custom nodes: cannot import name 'measure_flops' from 'lightning_fabric.utilities' (C:\AI\ComfyUI\python_embeded\Lib\site-packages\lightning_fabric\utilities\__init__.py)