Closed WarpWing closed 5 months ago
@WarpWing Try to install it Git LFS before installing the TTS
@WarpWing Try to install it Git LFS before installing the TTS
That worked! thank you
I tried installing git-lfs but it still failed for me. Here is how i installed git-lfs. I updated the existing apt-get install command and added git-lfs to the list.
RUN apt-get install -y --no-install-recommends \
gcc g++ \
make \
git-lfs \
python3 python3-dev python3-pip python3-venv python3-wheel \
espeak-ng libsndfile1-dev \
&& rm -rf /var/lib/apt/lists/*
This is the error that I am facing now.
213.6 Installing build dependencies: started
215.3 Installing build dependencies: finished with status 'done'
215.3 Getting requirements to build wheel: started
215.4 Getting requirements to build wheel: finished with status 'error'
215.4 error: subprocess-exited-with-error
215.4
215.4 × Getting requirements to build wheel did not run successfully.
215.4 │ exit code: 1
215.4 ╰─> [22 lines of output]
215.4 Traceback (most recent call last):
215.4 File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
215.4 main()
215.4 File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
215.4 json_out['return_val'] = hook(**hook_input['kwargs'])
215.4 File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
215.4 return hook(config_settings)
215.4 File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 162, in get_requires_for_build_wheel
215.4 return self._get_build_requires(
215.4 File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 143, in _get_build_requires
215.4 self.run_setup()
215.4 File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 267, in run_setup
215.4 super(_BuildMetaLegacyBackend,
215.4 File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 158, in run_setup
215.4 exec(compile(code, __file__, 'exec'), locals())
215.4 File "setup.py", line 16, in <module>
215.4 from setuptools_rust import Binding, RustExtension
215.4 File "/tmp/pip-build-env-ct9ucovm/overlay/local/lib/python3.10/dist-packages/setuptools_rust/__init__.py", line 1, in <module>
215.4 from .build import build_rust
215.4 File "/tmp/pip-build-env-ct9ucovm/overlay/local/lib/python3.10/dist-packages/setuptools_rust/build.py", line 22, in <module>
215.4 from setuptools.command.build import build as CommandBuild
215.4 ModuleNotFoundError: No module named 'setuptools.command.build'
215.4 [end of output]
215.4
215.4 note: This error originates from a subprocess, and is likely not a problem with pip.
215.4 error: subprocess-exited-with-error
215.4
215.4 × Getting requirements to build wheel did not run successfully.
215.4 │ exit code: 1
215.4 ╰─> See above for output.
215.4
215.4 note: This error originates from a subprocess, and is likely not a problem with pip.
------
I am using a macbook M3 pro as a host.
I tried installing git-lfs but it still failed for me. Here is how i installed git-lfs. I updated the existing apt-get install command and added git-lfs to the list.
RUN apt-get install -y --no-install-recommends \ gcc g++ \ make \ git-lfs \ python3 python3-dev python3-pip python3-venv python3-wheel \ espeak-ng libsndfile1-dev \ && rm -rf /var/lib/apt/lists/*
This is the error that I am facing now.
213.6 Installing build dependencies: started 215.3 Installing build dependencies: finished with status 'done' 215.3 Getting requirements to build wheel: started 215.4 Getting requirements to build wheel: finished with status 'error' 215.4 error: subprocess-exited-with-error 215.4 215.4 × Getting requirements to build wheel did not run successfully. 215.4 │ exit code: 1 215.4 ╰─> [22 lines of output] 215.4 Traceback (most recent call last): 215.4 File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module> 215.4 main() 215.4 File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main 215.4 json_out['return_val'] = hook(**hook_input['kwargs']) 215.4 File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel 215.4 return hook(config_settings) 215.4 File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 162, in get_requires_for_build_wheel 215.4 return self._get_build_requires( 215.4 File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 143, in _get_build_requires 215.4 self.run_setup() 215.4 File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 267, in run_setup 215.4 super(_BuildMetaLegacyBackend, 215.4 File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 158, in run_setup 215.4 exec(compile(code, __file__, 'exec'), locals()) 215.4 File "setup.py", line 16, in <module> 215.4 from setuptools_rust import Binding, RustExtension 215.4 File "/tmp/pip-build-env-ct9ucovm/overlay/local/lib/python3.10/dist-packages/setuptools_rust/__init__.py", line 1, in <module> 215.4 from .build import build_rust 215.4 File "/tmp/pip-build-env-ct9ucovm/overlay/local/lib/python3.10/dist-packages/setuptools_rust/build.py", line 22, in <module> 215.4 from setuptools.command.build import build as CommandBuild 215.4 ModuleNotFoundError: No module named 'setuptools.command.build' 215.4 [end of output] 215.4 215.4 note: This error originates from a subprocess, and is likely not a problem with pip. 215.4 error: subprocess-exited-with-error 215.4 215.4 × Getting requirements to build wheel did not run successfully. 215.4 │ exit code: 1 215.4 ╰─> See above for output. 215.4 215.4 note: This error originates from a subprocess, and is likely not a problem with pip. ------
I am using a macbook M3 pro as a host.
You can install setup tools via pip to fix the issue.
Tried that but that also didn't worked
You can install setup tools via pip to fix the issue.
Describe the bug
Could not install out of the box Coqui TTS due to missing setup tools command.
To Reproduce
Expected behavior
Successful installation.
Logs
Environment
Additional context
No response