Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am trying to install pyaudio module in my terminal for python, and I got this error.

rc/_portaudiomodule.c(29): fatal error C1083: Cannot open include file: 'portaudio.h': No such file or directory error: command 'C:Program FilesMicrosoft Visual Studio2019ProfessionalVCToolsMSVC14.27.29110inHostX86x86cl.exe' failed with exit status 2

Help me please

question from:https://stackoverflow.com/questions/65848699/error-in-installing-a-module-or-package-or-something-in-python

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.3k views
Welcome To Ask or Share your Answers For Others

1 Answer

If you are targeting native Win32 Python, you will need either MinGW (via Cygwin) or Microsoft Visual Studio

pyaudio compilation docs


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...