pythonpython-3.xpython-modulepyaudiowindowserror

“ERROR: Command errored out with exit status 1: python.” when installing simple audio for Python


I tried to install the simpleaudio module but I keep getting the same error. In my previous attempts, I included in the installation of python the path checkmark, and checked for pip to be installed on the PC.

I similarly tried to run both python3 -m pip install simpleaudio and python -m pip install simpleaudio, and only for python was the command executed but with the outputted error shown in the image:

enter image description here


Solution

  • The error is in the picture

    error: Microsoft Visual C++ 14.0 is required........
    

    Looks like you need to install C++ to build the module