Open DarrenCC opened 9 years ago
Firstly, manually install PyAudio
.
Then, Just pip install PyBaiduYuyin
.
I'll put this on README
I recommend to add virtualenv to the instructions, to avoid polluting site-packages.
> virtualenv venv
> . venv/bin/activate
> pip install PyBaiduYuyin
楼主,谢谢最近的更新。你这个项目非常好, 按照你的样例,windows环境python2.7.11。PIP方式顺利安装了PyBaiduYuyin 和BaiduYuyin import PyBaiduYuyin as pby import BaiduYuyin as pby tts = pby.TTS(app_key="XXX", secret_key="XXX") tts.say("说话") 代码运行结果是: [mpg123.c:695] error: ...in decoding next frame: Error reading the stream. (code 18) 当然也没有语音可言了,不知这是何故,用pip install mpg123,提示could not find a version that satisfies the requirment mpg123。 请问必须用mpg123吗? 有没有其他的解决方法,谢谢先。
系统找不到指定的路径。
how to install in windows?