gpt4 book ai didi

python - 安装 Python 语音识别包

转载 作者:行者123 更新时间:2023-11-30 22:46:57 26 4
gpt4 key购买 nike

有人可以告诉我如何下载和安装语音识别吗?

我目前在 Windows 10 上使用 Python 2.7.12。

我应该使用命令提示符吗?如果是,您能否准确地告诉我应该在命令中写什么。

我写了pip install SpeechRecognition在命令提示符下。但我收到此错误:

'pip' is not recognized as an internal or external command, operable program or batch file'

最佳答案

你可以试试这个

c:\python27\scripts\pip.exe install SpeechRecognition 

现在,如果这不起作用,则可能是您的 pip 损坏,您需要卸载 python 并再次安装。

您还可以从 cmd 运行此命令:(对于那些在上述目录中遇到错误的人..)

 python -m pip install SpeechRecognition

希望能成功

关于python - 安装 Python 语音识别包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40694029/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com