I have seen a few posts on here about this issue, but I have not been able to get any of the fixes to work for me. I am trying to get the fan script working.
I have am getting:
ModuleNotFoundError: No module named ‘smbus’
Has anyone else had this error, and any ideas on a fix?
I am getting: Process 633 ExecStart=/opt/argonone/bin/python3 /optargonone/bin/argononed.py (code=exited, status=1/FAILURE)
Running /opt/argonone/bin/python3 /optargonone/bin/argononed.py gets:
ModuleNotFoundError: No module named ‘smbus’
And when I nano /opt/argonone/bin/argononed.py to find the error in line 9 it says:
rev = GPIO.RPI_REVISION
if rev == 2 or rev ==3:
bus = smbus.SMBus(1)
else:
bus = smbus.SMBus(0)