在 python 中安装模块或包或其他东西时出错
error in installing a module or package or something in python
我正在尝试在我的 python 终端中安装 pyaudio 模块,但出现此错误。
rc/_portaudiomodule.c(29): fatal error C1083: Cannot open include
file: 'portaudio.h': No such file or directory
error: command 'C:\Program Files\Microsoft Visual Studio19\Professional\VC\Tools\MSVC.27.29110\bin\HostX86\x86\cl.exe'
failed with exit status 2
请帮帮我
If you are targeting native Win32 Python, you will need either MinGW (via Cygwin) or Microsoft Visual Studio
试试这个
pip 安装 pipwin
pipwin 安装 pyaudio
我正在尝试在我的 python 终端中安装 pyaudio 模块,但出现此错误。
rc/_portaudiomodule.c(29): fatal error C1083: Cannot open include file: 'portaudio.h': No such file or directory error: command 'C:\Program Files\Microsoft Visual Studio19\Professional\VC\Tools\MSVC.27.29110\bin\HostX86\x86\cl.exe' failed with exit status 2
请帮帮我
If you are targeting native Win32 Python, you will need either MinGW (via Cygwin) or Microsoft Visual Studio
试试这个
pip 安装 pipwin
pipwin 安装 pyaudio