首页 > 解决方案 > 错误:退出状态为 1 - 是什么原因导致的?

问题描述

我正在尝试安装框架,但在pip install. 有人知道为什么会这样吗?

ERROR:
Command errored out with exit status 1:
command:

'c:\users\USER\appdata\local\programs\python\python38\python.exe' -u -c'import io, os, sys, setuptools, tokenize;

sys.argv[0] = '"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-h69c5cy6\\pyaudio_da82baec7670489bbcc156db2a19a7de\\setup.py'"'"';

__file__='"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-h69c5cy6\\pyaudio_da82baec7670489bbcc156db2a19a7de\\setup.py'"'"';

f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');

code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');

f.close();

exec(compile(code, __file__, '"'"'exec'"'"'))'

install --record 'C:\Users\USER\AppData\Local\Temp\pip-record-3el35qod\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\USER\appdata\local\programs\python\python38\Include\pyaudio'```

标签: pythonerror-handlingcompiler-errorsruntime-errorpyaudio

解决方案


推荐阅读