简体   繁体   English

如何解决 PyAudio 安装错误

[英]How to Resolve PyAudio Installation Error

** pip install PyAudio File "", line 1 pip install PyAudio ^ SyntaxError: invalid syntax ** pip 安装 PyAudio 文件“”,第 1 行 pip 安装 PyAudio ^ SyntaxError:无效语法

I faced a Problem like that enter image description here我遇到了这样的问题,请在此处输入图像描述

** **

You are installing inside the Python shell.You need to execute python -m pip install pyaudio from the command prompt instead without going into the python shell You are installing inside the Python shell.You need to execute python -m pip install pyaudio from the command prompt instead without going into the python shell

do not run it as a python, launch the command directly from the shell不要将其作为 python 运行,直接从 shell 启动命令

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM