Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to install in windows? #1

Open
DarrenCC opened this issue Jul 22, 2015 · 4 comments
Open

how to install in windows? #1

DarrenCC opened this issue Jul 22, 2015 · 4 comments

Comments

@DarrenCC
Copy link

how to install in windows?

@DelightRun
Copy link
Owner

Firstly, manually install PyAudio.
Then, Just pip install PyBaiduYuyin.

I'll put this on README

@truedat101
Copy link

I recommend to add virtualenv to the instructions, to avoid polluting site-packages.

> virtualenv venv
> . venv/bin/activate
> pip install PyBaiduYuyin

@iswordfish
Copy link

楼主,谢谢最近的更新。你这个项目非常好,
按照你的样例,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吗?
有没有其他的解决方法,谢谢先。

@EXboys
Copy link

EXboys commented Dec 8, 2016

系统找不到指定的路径。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants