这是indexloc提供的服务,不要输入任何密码
Skip to content

unrecognized arguments: --piper /usr/share/piper/piper #40

@Alexxcrak

Description

@Alexxcrak

Describe the bug

The current README instructions for running wyoming-piper are outdated.
The provided example uses the argument --piper, which is no longer supported in recent versions.

Running the command exactly as documented:

script/run --piper '/usr/share/piper/piper' --voice en_US-lessac-medium --uri 'tcp://0.0.0.0:10200' --data-dir /data --download-dir /data

results in:

usage: __main__.py [-h] --voice VOICE [--uri URI] [--zeroconf [ZEROCONF]] --data-dir DATA_DIR ...
__main__.py: error: unrecognized arguments: --piper /usr/share/piper/piper
Traceback (most recent call last):
  File "/root/wyoming-piper/script/run", line 18, in <module>
    subprocess.check_call([python_exe, "-m", _MODULE] + sys.argv[1:])
  ...
subprocess.CalledProcessError: Command '['/root/wyoming-piper/.venv/bin/python3', '-m', 'wyoming_piper', '--piper', '/usr/share/piper/piper', ...]' returned non-zero exit status 2.

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