我无法解决此错误。您帮不上忙。安装PyAudio时会发生此错误。
错误处理d:\ python \ lib \ site-packages \ pywin32.pth的第7行:
回溯(最近通话最近): addpackage中的文件“ d:\ python \ lib \ site.py”,行169 exec(行) 文件“”,第1行,位于 ModuleNotFoundError:没有名为“ pywin32_bootstrap”的模块
Remainder of file ignored
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after
connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnecti
on object at 0x000001C3C2DE98B0>: Failed to establish a new connection: [Errno 11001] getaddrinfo
failed')': /simple/pyaudio/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after
connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnecti
on object at 0x000001C3C2DF7AC0>: Failed to establish a new connection: [Errno 11001] getaddrinfo
failed')': /simple/pyaudio/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after
connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnecti
on object at 0x000001C3C2DF7730>: Failed to establish a new connection: [Errno 11001] getaddrinfo
failed')': /simple/pyaudio/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after
connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnecti
on object at 0x000001C3C2DF7460>: Failed to establish a new connection: [Errno 11001] getaddrinfo
failed')': /simple/pyaudio/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after
connection
broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnecti
on object at 0x000001C3C2DF75B0>: Failed to establish a new connection: [Errno 11001] getaddrinfo
failed')': /simple/pyaudio/
ERROR: Could not find a version that satisfies the requirement PyAudio (from versions: none)
ERROR: No matching distribution found for PyAudio
答案 0 :(得分:1)
Windows 下 PyAudio 安装失败错误的解决方法:
首先在windows上打开cmd或者终端。然后写这个命令:pip install pipwin
安装它可能需要一些时间。安装pipwin后,写这个命令:pipwin install pyaudio
希望你的问题得到解决。