当我尝试“pip install pyaudio”时,我收到了该错误。\n我收到了“pip install numpy”和“pip install wheel”,但这些并没有解决我的问题。
\n\n\npip 版本:23.2.1\npython 版本:3.12.0
\n
C:\\Users\\admin!>pip install pyaudio\nCollecting pyaudio\n Using cached PyAudio-0.2.13.tar.gz (46 kB)\n Installing build dependencies ... done\n Getting requirements to build wheel ... error\n error: subprocess-exited-with-error\n\n \xc3\x97 Getting requirements to build wheel did not run successfully.\n \xe2\x94\x82 exit code: 1\n \xe2\x95\xb0\xe2\x94\x80> [33 lines of output]\n Traceback (most recent call last):\n File "C:\\Users\\admin!\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py", line 353, in <module>\n main()\n File "C:\\Users\\admin!\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py", line 335, in main\n json_out['return_val'] = hook(**hook_input['kwargs'])\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "C:\\Users\\admin!\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py", …Run Code Online (Sandbox Code Playgroud) python ×1