lks-ai / ComfyUI-StableAudioSampler

The New Stable Diffusion Audio Sampler 1.0 In a ComfyUI Node. Make some beats!
178 stars 13 forks source link

(IMPORT FAILED): C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-StableAudioSampler #20

Open Xenodimensional opened 2 weeks ago

Xenodimensional commented 2 weeks ago

Traceback (most recent call last): File "C:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1890, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-StableAudioSampler__init__.py", line 8, in from .nodes import StableAudioSampler, NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-StableAudioSampler\nodes.py", line 6, in from stable_audio_tools import get_pretrained_model ModuleNotFoundError: No module named 'stable_audio_tools'

Cannot import C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-StableAudioSampler module for custom nodes: No module named 'stable_audio_tools' no module 'xformers'. Processing without... no module 'xformers'. Processing without...

3blackbar commented 1 week ago

Same issue here ! Portable as well progressbar is giving issues

` × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\3090\AppData\Local\Temp\pip-install-cnpd1w0x\progressbar_5e4b55f6684b417289ab1c23ebbe2684\setup.py", line 5, in import progressbar ModuleNotFoundError: No module named 'progressbar' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

[notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: D:\comfyui\python_embeded\python.exe -m pip install --upgrade pip `

3blackbar commented 1 week ago

Can You boot it and not use progressbar at all? The least amount of dependencies the better for users . I did not went forward so its possible that more dependencies are crapping out on portable even if progressbar wont be used

3blackbar commented 1 week ago

This shiz aint working, gives no solution, so id say do not use progressbar if it also breaks other nodes, its just a fancy visuyal cue, not needed at all. Theres probably some more that makes this repo very sensitive to install properly and if i were you - id remove all the fancy shiz and leave just what is actually important.

This aint working -

If you get the progressbar error, you can use our new utility from the latest update.

cd ComfyUI/custom_modules/ComfyUI-StableAudioSampler python util_discrepancies.py progressbar You will see something like this... Screenshot from 2024-06-13 13-02-30 In this screenshot, you see protobuf but that is only because I don't have version issues with progressbar. Note: If I install one of those version suggestions, StableAudioSampler should work, but at the same time, it might make other packages not work.