Skip to content

xtts-api installation failed #76

@Yapper13333

Description

@Yapper13333

Attempting to install the exe and supplemental folders provided on the onedrive page linked by the author.

Installing on Windows 11.

Pandrator and Silero install and work. Nothing else can complete installation.

When installing xtts, the installation gets to "installing xtts-api server," then fails. The end of the log reads thus:

ERROR: Failed building wheel for coqui-tts
ERROR: Failed to build installable wheels for some pyproject.toml based projects (coqui-tts)

ERROR conda.cli.main_run:execute(125): conda run pip install xtts-api-server failed. (See above for error)

2025-03-07 17:52:07,150 - ERROR - Error installing xtts-api-server, PyTorch, or FFmpeg.
2025-03-07 17:52:07,150 - ERROR - Installation failed: 'str' object has no attribute 'decode'
2025-03-07 17:52:07,150 - ERROR - Traceback (most recent call last):
File "pandrator_installer_launcher.py", line 800, in install_pytorch_and_xtts_api_server
self.run_command(xtts_cmd)
File "pandrator_installer_launcher.py", line 472, in run_command
raise subprocess.CalledProcessError(process.returncode, command, stdout, stderr)
subprocess.CalledProcessError: Command '['C:\Pandrator-main\Pandrator\conda\Scripts\conda.exe', 'run', '-p', 'C:\Pandrator-main\Pandrator\conda\envs\xtts_api_server_installer', 'pip', 'install', 'xtts-api-server']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "pandrator_installer_launcher.py", line 1133, in install_process
self.install_pytorch_and_xtts_api_server(conda_path, 'xtts_api_server_installer')
File "pandrator_installer_launcher.py", line 816, in install_pytorch_and_xtts_api_server
logging.error(f"Error output: {e.stderr.decode('utf-8')}")
AttributeError: 'str' object has no attribute 'decode'

2025-03-07 17:52:07,151 - INFO - Installation failed. Check the log for details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions