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

Categories

0 votes
1.5k views
in Technique[技术] by (71.8m points)

error in installing a module or package or something in python

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

pyaudio compilation docs


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...