Installation

If in your machine previously you have never installed PyAudio then do this:

Unix

sudo apt-get install libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0

Windows

Download the binaries from here

Now do this

pip install PyAudio‑0.2.11‑cp39‑cp39m‑win_amd64.whl

Then(both)

python3 -m pip install PyMusic-Instrument