-
Libraries for Python 3 need to be installed with pip3. So
pip3 i2cdevice
would probably fix it. -
I haven’t got around to changing it because to test it would require me so stop my system and reinstall the latest Pimoroni library. It was probably a mistake to base my code on an examples library as Pimoroni keep changing things with no regard for backwards compatibility. As they are examples why would they?
What I really should do is make an installation procedure that is independent of the Pimoroni stuff and document it.
I doubt Pimoroni / Raspi staff are interested in my personal project. The Magpi article gives the impression it is an official solution but it is just my personal project that I announced to people in this forum.