uname -a
Linux RPi48 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux
dpkg –get-selections >~/pkgs-avail.txt
attached pkgs-avail.txt (note: libasound2 is the alsa interface)
pkgs-avail.txt
python3
Python 3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
quit()
sudo pip3 install python-rtmidi --log /home/pi/piplog.txt
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting python-rtmidi
Using cached python-rtmidi-1.4.9.tar.gz (251 kB)
Building wheels for collected packages: python-rtmidi
Building wheel for python-rtmidi (setup.py) ... error
ERROR: Failed building wheel for python-rtmidi
Running setup.py clean for python-rtmidi
Failed to build python-rtmidi
Installing collected packages: python-rtmidi
Running setup.py install for python-rtmidi ... error
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-l6yay93w/python-rtmidi_71d1b814c487491289fd18cd90e95995/setup.py'"'"'; file='"'"'/tmp/pip-install-l6yay93w/python-rtmidi_71d1b814c487491289fd18cd90e95995/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-xuu2riyo/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/python-rtmidi Check the logs for full command output.
cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
uname -a Linux RPi48 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux
dpkg –get-selections >~/pkgs-avail.txt attached pkgs-avail.txt (note: libasound2 is the alsa interface) pkgs-avail.txt
python3 Python 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information.
sudo pip3 install python-rtmidi --log /home/pi/piplog.txt Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting python-rtmidi Using cached python-rtmidi-1.4.9.tar.gz (251 kB) Building wheels for collected packages: python-rtmidi Building wheel for python-rtmidi (setup.py) ... error ERROR: Failed building wheel for python-rtmidi Running setup.py clean for python-rtmidi Failed to build python-rtmidi Installing collected packages: python-rtmidi Running setup.py install for python-rtmidi ... error ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-l6yay93w/python-rtmidi_71d1b814c487491289fd18cd90e95995/setup.py'"'"'; file='"'"'/tmp/pip-install-l6yay93w/python-rtmidi_71d1b814c487491289fd18cd90e95995/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-xuu2riyo/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/python-rtmidi Check the logs for full command output.
Attached pip3 output piplog.txt piplog.txt
The libasound2 library is /usr/lib/aarch64-linux-gnu/libasound.so.2.0.0 with link as libasound.so.2 the header is /usr/include/sound/asound.h
Thanks, Morris