Skip to content

xtts-api installation failed #76

Closed

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.

Activity

  1. lukaszliniewicz commented on Mar 17, 2025

    @lukaszliniewicz
    Owner

    Please try the new release and let me know if the problem persists.

  2. ilyasok commented on Mar 19, 2025

    @ilyasok

    Was solved once the installer was opened with Admin Privileges

  3. OBrutus commented on Jun 8, 2026

    @OBrutus

    @Yapper13333 is this issue still open?
    @ilyasok was able to resolve this on his system.
    @Yapper13333 / @lukaszliniewicz if it is resolved can we mark this closed?

  4. lukaszliniewicz commented on Jun 14, 2026

    @lukaszliniewicz
    Owner

    Resolved by migrating to the new xtts2_api server, which installs cleanly via Pixi environments without compiling coqui-tts from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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