Skip to content

Will not install #202

@OldComputerGuy

Description

@OldComputerGuy

On installation: using "pip install stable-audio-tools" in an active env.
The installer tries to install the dep for "PyWavelet 1.4.1", which is not found and causes an error. (See Below)
--- Console Log ---
(venv) C:\Users\Test\Desktop\StableAudioOpen>pip install stable-audio-tools
Collecting stable-audio-tools
Using cached stable_audio_tools-0.0.19-py3-none-any.whl.metadata (1.3 kB)
Collecting alias-free-torch==0.0.6 (from stable-audio-tools)
Using cached alias_free_torch-0.0.6-py3-none-any.whl.metadata (3.8 kB)
Collecting auraloss==0.4.0 (from stable-audio-tools)
Using cached auraloss-0.4.0-py3-none-any.whl.metadata (8.0 kB)
Collecting descript-audio-codec==1.0.0 (from stable-audio-tools)
Using cached descript_audio_codec-1.0.0-py3-none-any.whl.metadata (7.8 kB)
Collecting einops (from stable-audio-tools)
Using cached einops-0.8.1-py3-none-any.whl.metadata (13 kB)
Collecting einops-exts (from stable-audio-tools)
Using cached einops_exts-0.0.4-py3-none-any.whl.metadata (621 bytes)
Collecting ema-pytorch==0.2.3 (from stable-audio-tools)
Using cached ema_pytorch-0.2.3-py3-none-any.whl.metadata (693 bytes)
Collecting encodec==0.1.1 (from stable-audio-tools)
Using cached encodec-0.1.1.tar.gz (3.7 MB)
Preparing metadata (setup.py) ... done
Collecting gradio>=5.20.0 (from stable-audio-tools)
Using cached gradio-5.29.1-py3-none-any.whl.metadata (16 kB)
Collecting huggingface_hub (from stable-audio-tools)
Using cached huggingface_hub-0.31.2-py3-none-any.whl.metadata (13 kB)
Collecting importlib-resources==5.12.0 (from stable-audio-tools)
Using cached importlib_resources-5.12.0-py3-none-any.whl.metadata (4.1 kB)
Collecting k-diffusion==0.1.1 (from stable-audio-tools)
Using cached k_diffusion-0.1.1-py3-none-any.whl.metadata (3.9 kB)
Collecting laion-clap==1.1.4 (from stable-audio-tools)
Using cached laion_clap-1.1.4-py3-none-any.whl.metadata (26 kB)
Collecting local-attention==1.8.6 (from stable-audio-tools)
Using cached local_attention-1.8.6-py3-none-any.whl.metadata (684 bytes)
Collecting pandas==2.0.2 (from stable-audio-tools)
Using cached pandas-2.0.2.tar.gz (5.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting prefigure==0.0.9 (from stable-audio-tools)
Using cached prefigure-0.0.9-py3-none-any.whl.metadata (5.9 kB)
Collecting pytorch_lightning==2.1.0 (from stable-audio-tools)
Using cached pytorch_lightning-2.1.0-py3-none-any.whl.metadata (23 kB)
Collecting PyWavelets==1.4.1 (from stable-audio-tools)
Using cached PyWavelets-1.4.1.tar.gz (4.6 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [33 lines of output]
Traceback (most recent call last):
File "C:\Users\Test\Desktop\StableAudioOpen\venv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 389, in
main()
File "C:\Users\Test\Desktop\StableAudioOpen\venv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Test\Desktop\StableAudioOpen\venv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 137, in get_requires_for_build_wheel
backend = _build_backend()
^^^^^^^^^^^^^^^^
File "C:\Users\Test\Desktop\StableAudioOpen\venv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 70, in build_backend
obj = import_module(mod_path)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\importlib_init
.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1310, in _find_and_load_unlocked
File "", line 488, in _call_with_frames_removed
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in load_unlocked
File "", line 995, in exec_module
File "", line 488, in call_with_frames_removed
File "C:\Users\Test\AppData\Local\Temp\pip-build-env-mhz29vx7\overlay\Lib\site-packages\setuptools_init
.py", line 16, in
import setuptools.version
File "C:\Users\Test\AppData\Local\Temp\pip-build-env-mhz29vx7\overlay\Lib\site-packages\setuptools\version.py", line 1, in
import pkg_resources
File "C:\Users\Test\AppData\Local\Temp\pip-build-env-mhz29vx7\overlay\Lib\site-packages\pkg_resources_init
.py", line 2191, in
register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
[end of output]

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

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

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

--- End Console Log ---

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