Running the bash script installation (curl https://get.pimoroni.com/scrollphathd | bash).
The sudo apt-get install python3-scrollphathd fails with E: Unable to locate package python3-scrollphathd and fallback to pip. But then sudo pip3 install scrollphathd fails with error: externally-managed-environment, AFAIK, since python 3.11+.
Not sure why can't use apt, but for newer pythons the pip requires --break-system-packages arg.
Running the bash script installation (
curl https://get.pimoroni.com/scrollphathd | bash).The
sudo apt-get install python3-scrollphathdfails withE: Unable to locate package python3-scrollphathdand fallback to pip. But thensudo pip3 install scrollphathdfails witherror: externally-managed-environment, AFAIK, since python 3.11+.Not sure why can't use apt, but for newer pythons the pip requires
--break-system-packagesarg.