-
-
Notifications
You must be signed in to change notification settings - Fork 105
Description
Describe the bug
Failed to install audiolm. Check AutoDebug output.
To Reproduce
Steps to reproduce the behavior:
Version python: 3.10.11
I use "venv" and execute cmd "run.bat"
Expected behavior
Who has encountered this and found a fix, please tell me how to fix it. Thank you.
Additional context
Install failed!
STDOUT:
Collecting audiolm-pytorch==1.1.4
Using cached audiolm_pytorch-1.1.4-py3-none-any.whl.metadata (1.2 kB)
Collecting accelerate (from audiolm-pytorch==1.1.4)
Using cached accelerate-1.4.0-py3-none-any.whl.metadata (19 kB)
Collecting beartype (from audiolm-pytorch==1.1.4)
Using cached beartype-0.20.0-py3-none-any.whl.metadata (32 kB)
Requirement already satisfied: einops>=0.6.1 in d:\audio-webui\audio-webui\venv\lib\site-packages (from audiolm-pytorch==1.1.4) (0.8.1)
Collecting ema-pytorch>=0.2.2 (from audiolm-pytorch==1.1.4)
Using cached ema_pytorch-0.7.7-py3-none-any.whl.metadata (689 bytes)
Requirement already satisfied: encodec in d:\audio-webui\audio-webui\venv\lib\site-packages (from audiolm-pytorch==1.1.4) (0.1.1)
Collecting fairseq (from audiolm-pytorch==1.1.4)
Using cached fairseq-0.12.2.tar.gz (9.6 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting joblib (from audiolm-pytorch==1.1.4)
Using cached joblib-1.4.2-py3-none-any.whl.metadata (5.4 kB)
Collecting lion-pytorch (from audiolm-pytorch==1.1.4)
Using cached lion_pytorch-0.2.3-py3-none-any.whl.metadata (616 bytes)
Collecting local-attention>=1.8.4 (from audiolm-pytorch==1.1.4)
Using cached local_attention-1.11.1-py3-none-any.whl.metadata (907 bytes)
Collecting scikit-learn (from audiolm-pytorch==1.1.4)
Using cached scikit_learn-1.6.1-cp310-cp310-win_amd64.whl.metadata (15 kB)
Collecting sentencepiece (from audiolm-pytorch==1.1.4)
Using cached sentencepiece-0.2.0-cp310-cp310-win_amd64.whl.metadata (8.3 kB)
Requirement already satisfied: torch>=1.12 in d:\audio-webui\audio-webui\venv\lib\site-packages (from audiolm-pytorch==1.1.4) (2.1.0+cu118)
Requirement already satisfied: torchaudio in d:\audio-webui\audio-webui\venv\lib\site-packages (from audiolm-pytorch==1.1.4) (2.1.0+cu118)
Requirement already satisfied: transformers in d:\audio-webui\audio-webui\venv\lib\site-packages (from audiolm-pytorch==1.1.4) (4.44.0)
Requirement already satisfied: tqdm in d:\audio-webui\audio-webui\venv\lib\site-packages (from audiolm-pytorch==1.1.4) (4.67.1)
Collecting vector-quantize-pytorch>=1.5.14 (from audiolm-pytorch==1.1.4)
Using cached vector_quantize_pytorch-1.21.9-py3-none-any.whl.metadata (30 kB)
Collecting hyper-connections>=0.1.8 (from local-attention>=1.8.4->audiolm-pytorch==1.1.4)
Using cached hyper_connections-0.1.15-py3-none-any.whl.metadata (5.2 kB)
Requirement already satisfied: filelock in d:\audio-webui\audio-webui\venv\lib\site-packages (from torch>=1.12->audiolm-pytorch==1.1.4) (3.17.0)
Requirement already satisfied: typing-extensions in d:\audio-webui\audio-webui\venv\lib\site-packages (from torch>=1.12->audiolm-pytorch==1.1.4) (4.12.2)
Requirement already satisfied: sympy in d:\audio-webui\audio-webui\venv\lib\site-packages (from torch>=1.12->audiolm-pytorch==1.1.4) (1.13.3)
Requirement already satisfied: networkx in d:\audio-webui\audio-webui\venv\lib\site-packages (from torch>=1.12->audiolm-pytorch==1.1.4) (3.4.2)
Requirement already satisfied: jinja2 in d:\audio-webui\audio-webui\venv\lib\site-packages (from torch>=1.12->audiolm-pytorch==1.1.4) (3.1.5)
Requirement already satisfied: fsspec in d:\audio-webui\audio-webui\venv\lib\site-packages (from torch>=1.12->audiolm-pytorch==1.1.4) (2025.2.0)
Collecting einx>=0.3.0 (from vector-quantize-pytorch>=1.5.14->audiolm-pytorch==1.1.4)
Using cached einx-0.3.0-py3-none-any.whl.metadata (6.9 kB)
Requirement already satisfied: numpy<3.0.0,>=1.17 in d:\audio-webui\audio-webui\venv\lib\site-packages (from accelerate->audiolm-pytorch==1.1.4) (1.23.5)
Requirement already satisfied: packaging>=20.0 in d:\audio-webui\audio-webui\venv\lib\site-packages (from accelerate->audiolm-pytorch==1.1.4) (24.2)
Collecting psutil (from accelerate->audiolm-pytorch==1.1.4)
Using cached psutil-7.0.0-cp37-abi3-win_amd64.whl.metadata (23 kB)
Requirement already satisfied: pyyaml in d:\audio-webui\audio-webui\venv\lib\site-packages (from accelerate->audiolm-pytorch==1.1.4) (6.0.2)
Requirement already satisfied: huggingface-hub>=0.21.0 in d:\audio-webui\audio-webui\venv\lib\site-packages (from accelerate->audiolm-pytorch==1.1.4) (0.23.2)
Requirement already satisfied: safetensors>=0.4.3 in d:\audio-webui\audio-webui\venv\lib\site-packages (from accelerate->audiolm-pytorch==1.1.4) (0.5.3)
Requirement already satisfied: cffi in d:\audio-webui\audio-webui\venv\lib\site-packages (from fairseq->audiolm-pytorch==1.1.4) (1.17.1)
Collecting cython (from fairseq->audiolm-pytorch==1.1.4)
Using cached Cython-3.0.12-cp310-cp310-win_amd64.whl.metadata (3.6 kB)
Collecting hydra-core<1.1,>=1.0.7 (from fairseq->audiolm-pytorch==1.1.4)
Using cached hydra_core-1.0.7-py3-none-any.whl.metadata (3.7 kB)
Collecting omegaconf<2.1 (from fairseq->audiolm-pytorch==1.1.4)
Using cached omegaconf-2.0.6-py3-none-any.whl.metadata (3.0 kB)
Using cached omegaconf-2.0.5-py3-none-any.whl.metadata (3.0 kB)
Using cached omegaconf-2.0.4-py3-none-any.whl.metadata (3.0 kB)
Using cached omegaconf-2.0.3-py3-none-any.whl.metadata (3.0 kB)
Using cached omegaconf-2.0.2-py3-none-any.whl.metadata (3.0 kB)
Using cached omegaconf-2.0.1-py3-none-any.whl.metadata (3.0 kB)
Using cached omegaconf-2.0.0-py3-none-any.whl.metadata (3.5 kB)
Requirement already satisfied: regex in d:\audio-webui\audio-webui\venv\lib\site-packages (from fairseq->audiolm-pytorch==1.1.4) (2024.11.6)
Collecting sacrebleu>=1.4.12 (from fairseq->audiolm-pytorch==1.1.4)
Using cached sacrebleu-2.5.1-py3-none-any.whl.metadata (51 kB)
Collecting bitarray (from fairseq->audiolm-pytorch==1.1.4)
Using cached bitarray-3.1.0-cp310-cp310-win_amd64.whl.metadata (33 kB)
Requirement already satisfied: scipy>=1.6.0 in d:\audio-webui\audio-webui\venv\lib\site-packages (from scikit-learn->audiolm-pytorch==1.1.4) (1.15.2)
Collecting threadpoolctl>=3.1.0 (from scikit-learn->audiolm-pytorch==1.1.4)
Using cached threadpoolctl-3.5.0-py3-none-any.whl.metadata (13 kB)
Requirement already satisfied: colorama in d:\audio-webui\audio-webui\venv\lib\site-packages (from tqdm->audiolm-pytorch==1.1.4) (0.4.6)
Requirement already satisfied: requests in d:\audio-webui\audio-webui\venv\lib\site-packages (from transformers->audiolm-pytorch==1.1.4) (2.32.3)
Requirement already satisfied: tokenizers<0.20,>=0.19 in d:\audio-webui\audio-webui\venv\lib\site-packages (from transformers->audiolm-pytorch==1.1.4) (0.19.1)
Collecting frozendict (from einx>=0.3.0->vector-quantize-pytorch>=1.5.14->audiolm-pytorch==1.1.4)
Using cached frozendict-2.4.6-cp310-cp310-win_amd64.whl.metadata (23 kB)
Collecting omegaconf<2.1 (from fairseq->audiolm-pytorch==1.1.4)
Using cached omegaconf-2.0.6-py3-none-any.whl.metadata (3.0 kB)
Using cached omegaconf-2.0.5-py3-none-any.whl.metadata (3.0 kB)
INFO: pip is looking at multiple versions of hydra-core to determine which version is compatible with other requirements. This could take a while.
Collecting fairseq (from audiolm-pytorch==1.1.4)
Using cached fairseq-0.12.1.tar.gz (9.6 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
STDERR:
WARNING: Ignoring version 2.0.6 of omegaconf since it has invalid metadata:
Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/d0/eb/9d63ce09dd8aa85767c65668d5414958ea29648a0eec80a4a7d311ec2684/omegaconf-2.0.6-py3-none-any.whl (from fairseq->audiolm-pytorch==1.1.4) has invalid metadata: .* suffix can only be used with ==
or !=
operators
PyYAML (>=5.1.)
~~~~~~^
Please use pip<24.1 if you need to use this version.
WARNING: Ignoring version 2.0.5 of omegaconf since it has invalid metadata:
Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/e5/f6/043b6d255dd6fbf2025110cea35b87f4c5100a181681d8eab496269f0d5b/omegaconf-2.0.5-py3-none-any.whl (from fairseq->audiolm-pytorch==1.1.4) has invalid metadata: . suffix can only be used with ==
or !=
operators
PyYAML (>=5.1.)
~~~~~~^
Please use pip<24.1 if you need to use this version.
WARNING: Ignoring version 2.0.4 of omegaconf since it has invalid metadata:
Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/92/b1/4f3023143436f12c98bab53f0b3db617bd18a7d223627d5030e13a7b4fc2/omegaconf-2.0.4-py3-none-any.whl (from fairseq->audiolm-pytorch==1.1.4) has invalid metadata: . suffix can only be used with ==
or !=
operators
PyYAML (>=5.1.)
~~~~~~^
Please use pip<24.1 if you need to use this version.
WARNING: Ignoring version 2.0.3 of omegaconf since it has invalid metadata:
Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/29/08/a88210c2c1aa0a3f65f05d8a6c98939ccb84b6fb982aa6567dec4e6773f9/omegaconf-2.0.3-py3-none-any.whl (from fairseq->audiolm-pytorch==1.1.4) has invalid metadata: . suffix can only be used with ==
or !=
operators
PyYAML (>=5.1.)
~~~~~~^
Please use pip<24.1 if you need to use this version.
WARNING: Ignoring version 2.0.2 of omegaconf since it has invalid metadata:
Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/72/fe/f8d162aa059fb4f327fd75144dd69aa7e8acbb6d8d37013e4638c8490e0b/omegaconf-2.0.2-py3-none-any.whl (from fairseq->audiolm-pytorch==1.1.4) has invalid metadata: . suffix can only be used with ==
or !=
operators
PyYAML (>=5.1.)
~~~~~~^
Please use pip<24.1 if you need to use this version.
WARNING: Ignoring version 2.0.1 of omegaconf since it has invalid metadata:
Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/86/ec/605805e60abdb025b06664d107335031bb8ebdc52e0a90bdbad6a7130279/omegaconf-2.0.1-py3-none-any.whl (from fairseq->audiolm-pytorch==1.1.4) has invalid metadata: . suffix can only be used with ==
or !=
operators
PyYAML (>=5.1.)
~~~~~~^
Please use pip<24.1 if you need to use this version.
WARNING: Ignoring version 2.0.6 of omegaconf since it has invalid metadata:
Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/d0/eb/9d63ce09dd8aa85767c65668d5414958ea29648a0eec80a4a7d311ec2684/omegaconf-2.0.6-py3-none-any.whl (from fairseq->audiolm-pytorch==1.1.4) has invalid metadata: . suffix can only be used with ==
or !=
operators
PyYAML (>=5.1.)
~~~~~~^
Please use pip<24.1 if you need to use this version.
WARNING: Ignoring version 2.0.5 of omegaconf since it has invalid metadata:
Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/e5/f6/043b6d255dd6fbf2025110cea35b87f4c5100a181681d8eab496269f0d5b/omegaconf-2.0.5-py3-none-any.whl (from fairseq->audiolm-pytorch==1.1.4) has invalid metadata: . suffix can only be used with ==
or !=
operators
PyYAML (>=5.1.*)
~~~~~~^
Please use pip<24.1 if you need to use this version.
error: subprocess-exited-with-error
Getting requirements to build wheel did not run successfully.
exit code: 1
[16 lines of output]
Traceback (most recent call last):
File "D:\audio-webui\audio-webui\venv\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "D:\audio-webui\audio-webui\venv\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "D:\audio-webui\audio-webui\venv\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\SONGG\AppData\Local\Temp\pip-build-env-_6eep18o\overlay\Lib\site-packages\setuptools\build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "C:\Users\SONGG\AppData\Local\Temp\pip-build-env-_6eep18o\overlay\Lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "C:\Users\SONGG\AppData\Local\Temp\pip-build-env-_6eep18o\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
exec(code, locals())
File "", line 27, in
File "", line 18, in write_version_py
FileNotFoundError: [Errno 2] No such file or directory: 'fairseq\version.txt'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error