无法安装tts-watson

时间:2016-10-09 15:38:33

标签: python python-2.7 pip text-to-speech watson

我正在尝试使用以下内容将tts-watson 1.0.0安装到我的Mac OS X Sierra:

    error: could not create'/System/Library/Frameworks/Python.framework/Versions/2.7/share': Operation not permitted

----------------------------------------
    Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-NMf7OP/anyconfig/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-Asdffe-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-NMf7OP/anyconfig/

安装开始然后 我收到这个错误:

public int _f;
public int f
{
    get => _f;
}

请帮我解决这个问题。提前谢谢。

1 个答案:

答案 0 :(得分:0)

问题是端口音频。要解决此问题,请安装portaudio。

在Mac上,

brew install portaudio

在Linux上,

apt-get install portaudio19-dev