Skip to content

Not working in windows comfyui portable #11

@GamingDaveUk

Description

@GamingDaveUk

Error:

Traceback (most recent call last):
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1907, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-sound-lab\__init__.py", line 2, in <module>
    from .nodes.StableAudioNode import StableAudioNode
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-sound-lab\nodes\StableAudioNode.py", line 12, in <module>
    from .stable_audio_tools.inference.generation import generate_diffusion_cond
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-sound-lab\nodes\stable_audio_tools\inference\generation.py", line 8, in <module>
    from .sampling import sample, sample_k, sample_rf
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-sound-lab\nodes\stable_audio_tools\inference\sampling.py", line 5, in <module>
    import k_diffusion as K
  File "C:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\k_diffusion\__init__.py", line 1, in <module>
    from . import augmentation, config, evaluation, external, gns, layers, models, sampling, utils
  File "C:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\k_diffusion\evaluation.py", line 6, in <module>
    import clip
  File "C:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\clip\__init__.py", line 1, in <module>
    from .clip import *
  File "C:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\clip\clip.py", line 6, in <module>
    from pkg_resources import packaging
ImportError: cannot import name 'packaging' from 'pkg_resources' (C:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pkg_resources\__init__.py)

Cannot import C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-sound-lab module for custom nodes: cannot import name 'packaging' from 'pkg_resources' (C:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pkg_resources\__init__.py)

I installed using the manager.
I ran the install.bat (given the drama over llmvision, i felt rather nervous about that)
manually downladed and placed the stable audio model.

OS: windows 11 (uptodate)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions