rany2 / edge-tts

Use Microsoft Edge's online text-to-speech service from Python WITHOUT needing Microsoft Edge or Windows or an API key
https://pypi.org/project/edge-tts/
GNU General Public License v3.0
5.38k stars 549 forks source link

安装成功,在执行示例时出现『dquote』 #53

Closed wisinfun closed 1 year ago

wisinfun commented 1 year ago

Installation successful, 'dquote' error occurred when running the example.

image

How to deal with this situation, because I am not very familiar with programming and cannot find relevant steps in the instructions. Please provide some guidance. Operating environment: MacOS 13.2.1 + Python 3.11.2

出现这种情况应该如何处理,因为对编程不是很懂,说明里未发现相关步骤,烦请解答下 运行环境:MacOS 13.2.1 + Python 3.11.2

rany2 commented 1 year ago

Have a look at this: https://stackoverflow.com/a/65275595/6154099

This is from ZSH not edge-tts. If you want to generate text without worrying about shell quoting/escaping, put the prompt in a text file and use --file to read from the file.