错误:命令错误,退出状态为1: 命令:/ Users / edna / Desktop / PYTHON / tm / venv / bin / python3 -u -c'导入sys,setuptools,令牌化; sys.argv [0] ='“'”'/private/var/folders/hj/bzqbbtyx5t36r73plq_ww45h0000gn/T/pip-install-74rdf5is/pyaudio/setup.py'“'”'; 文件 ='“'”'/ private / var / folders / hj / bzqbbtyx5t36r73plq_ww45h0000gn / T / pip-install-74rdf5is / pyaudio / setup.py'“'”'; f = getattr(tokenize, '“”“'open'”'“,打开)(文件); code = f.read()。replace('”'“'\ r \ n'”'“', '“'”'\\ n'“'”'); f.close(); exec(compile(code, file ,'“'”'exec'“'”')))'安装--record /private/var/folders/hj/bzqbbtyx5t36r73plq_ww45h0000gn/T/pip-record-auyu84yp/install-record.txt --single-version-externallymanaged --compile --install-headers / Users / edna / Desktop /PYTHON/tm/venv/include/site/python3.7/pyaudio cwd:/ private / var / folders / hj / bzqbbtyx5t36r73plq_ww45h0000gn / T / pip-install-74rdf5is / pyaudio / 完整输出(16行): 运行安装 运行构建 运行build_py 创建版本 创建build / lib.macosx-10.13-x86_64-3.7 复制src / pyaudio.py-> build / lib.macosx-10.13-x86_64-3.7 运行build_ext 建立'_portaudio'扩展名 创建build / temp.macosx-10.13-x86_64-3.7 创建build / temp.macosx-10.13-x86_64-3.7 / src clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I / Applications / Xcode.app / Contents / Developer / Platforms / MacOSX.platform /开发人员/SDKs/MacOSX10.14.sdk/usr/include -I / Applications / Xcode.app / Contents / Developer / Platforms / MacOSX.platform / Developer / SDKs / MacOSX10.14.sdk / System / Library / Frameworks / Tk。框架/版本/8.5/标题-DMACOSX = 1 -I / usr / local / include -I / usr / local / opt / openssl / include -I / usr / local / opt / sqlite / include -I / Users / edna /桌面/ PYTHON / tm / venv / include -I / usr / local / Cellar / python / 3.7.2_1 / Frameworks / Python.framework / Versions / 3.7 / include / python3.7m -c src / _portaudiomodule.c -o build / temp.macosx-10.13-x86_64-3.7 / src / _portaudiomodule.o src / _portaudiomodule.c:29:10:致命错误:找不到'portaudio.h'文件 #include“ portaudio.h” ^ ~~~~~~~~~~~~ 产生1个错误。 错误:命令“ clang”失败,退出状态为1 ---------------------------------------- 错误:命令错误,退出状态为1:/ Users / edna / Desktop / PYTHON / tm / venv / bin / python3 -u -c'import sys,setuptools,tokenize; sys.argv [0] ='“'”'/private/var/folders/hj/bzqbbtyx5t36r73plq_ww45h0000gn/T/pip-install-74rdf5is/pyaudio/setup.py'“'”'; 文件 ='“'”'/ private / var / folders / hj / bzqbbtyx5t36r73plq_ww45h0000gn / T / pip-install-74rdf5is / pyaudio / setup.py'“'”'; f = getattr(tokenize, '“”“'open'”'“,打开)(文件); code = f.read()。replace('”'“'\ r \ n'”'“', '“'”'\\ n'“'”'); f.close(); exec(compile(code, file ,'“'”'exec'“'”')))'安装--record /private/var/folders/hj/bzqbbtyx5t36r73plq_ww45h0000gn/T/pip-record-auyu84yp/install-record.txt --single-version-externallymanaged --compile --install-headers / Users / edna / Desktop /PYTHON/tm/venv/include/site/python3.7/pyaudio检查日志以获取完整的命令输出。