我已经使用这个网站上的教程为Python语言编写了一个简单的助手代码:https://randerson112358.medium.com/build-a-virtual-assistant-using-python.py", line 33, in assistantResponse File "C:\Users\Johann\AppData\Lo
我想为语音协助创建python代码,它将使用gTTS。这是我在python上的MacBook Air 2019上编写的代码(3.7.4)import speech_recognition as srdef assistant(command):
if 'open Reddit pythonin com
每当我安装和导入gTTS时,我都会面临这个问题。not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'C:\\Python310\\Scripts\\gtts-cli.exe' -> 'C:\\Python310\\Scripts\\gtts-cli.exe.deleteme'Traceback (most
我试图让gTTS在我的win10机器上工作,但都是徒劳的。 Generating metadata for package gTTS produced metadata for project name unknown.Fix your #egg=gTTS fragments.a6d4cf039da2797de8af2da7c1f0ce700ac0b48601ce6c11a02b337fd6bdcf57 in c:\users\user\appdata