Argon One Case Script Issue - smbus

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?

Thank you!

I think you will run into a couple of issues with running the original script, but you can start here.

I tried that step, but no luck.

When I type the command:

systemctl status argononed.service

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)

Sounds like you might be missing the msbus python module.

Do you know what I would do to fix that?

You can try building this AUR package.

Just add aarch64 to the arch=() line before you compile and install it.

1 Like