danb35 / raspi-ups-stats

MIT License
16 stars 5 forks source link

can you help #1

Open joloman2 opened 3 years ago

joloman2 commented 3 years ago

hi can you help me im trying to get it to work but it spits an error

afbeelding

joloman2 commented 3 years ago

im running a raspberry 4b with new raspbian

danb35 commented 3 years ago

I'm pretty sure you'd need to run the script with sudo.

joloman2 commented 3 years ago

oke i ran it as sudo but now it says no smbus2 is missing

afbeelding afbeelding

SimpleSon commented 3 years ago

oke i ran it as sudo but now it says no smbus2 is missing

afbeelding afbeelding

I'm running into the same as well. I confirmed python3-smbus is installed. I did just do a fresh install of the OS to the latest Bullseye release, so not sure if that has anything to do with this.