简体   繁体   中英

ERROR: Command errored out with exit status 1: while installing pyAudio in Pycharm

I do not know why i am getting this error,I have tried running the command pip install PyAudio in the terminal but shows error message:

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

Anyone know how to solve this, thanks!

probably pip is not in your system path directory you can check this link out for more info "https://stackoverflow.com/questions/23708898/pip-is-not-recognized-as-an-internal-or-external-command#:~:text=You%20need%20to%20add%20the,added%20to%20your%20PATH%20variable".

Go in your IDE(Most probably Pycharm VS Code) Open Terminal Type pip install pipwin Type pipwin install pyaudio wait for the installation and done! Don't forget to reload your project

I would use anaconda. In case you do not have it you can install it with

pip install conda

If you do not have installed pip then you can refer to the comment you already received by Thu Yein Tun on how to install pip.

and then run:

conda install -c anaconda pyaudio 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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