Bvis222 wrote:
I figured it out... you need to install the package by breaking system-packages pip install phidget22 --break-system-packages now it all works...
Glad you got it working, and thanks for posting the fix — that’ll help the next person hitting the same issue on 64-bit Raspberry Pi OS.
One small caution: `--break-system-packages` bypasses Debian/Raspberry Pi OS’s Python package protections, so it’s OK if you understand the tradeoff, but a virtual environment is usually the cleaner route:
`python3 -m venv venv`
`source venv/bin/activate`
`pip install phidget22`
Then run your script from that environment. But if this Pi is dedicated to the project and it’s working reliably now, your solution is a practical one.