Closed ghost closed 4 years ago
I have a similar error running on archlinuxarm:
[audiolinux@raspberry ~]$ fanshim
Traceback (most recent call last):
File "/usr/bin/fanshim", line 87, in
This is an error produced by the RPi.GPIO
library, you should attempt to update it to see if it fixes the problem:
python -m pip install rpi.gpio --upgrade
This may possibly also be related and suggests permissions issues: https://sourceforge.net/p/raspberry-gpio-python/tickets/171/
Ok, python-pip was not installed. Strange... 0.3 was working before.
Today the problem is back... python-pip updated
File "/usr/bin/fanshim", line 87, in
If you're using Python 3 you would need:
python3 -m pip install rpi.gpio --upgrade
But, broadly, this is an issue with RPi.GPIO
and not something that can be fixed here if the updated version doesn't work.
Note: the instructions on https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-fan-shim seem to lead to fanshim being installed for python2, but I might have to raise a different issue for that
I'm on a 4GB Pi4 with the shim installed, a green light from the LED blinding me and using a pretty stock Raspbian Buster Full install.