How to Install python3-smbus in Ubuntu 18.04



Install python3-smbus by entering the following commands in the terminal:

sudo apt update
sudo apt install python3-smbus

Description:

Python 3 bindings for Linux SMBus access through i2c-dev

This Python 3 module allows SMBus access through the I2C /dev interface on Linux hosts. The host kernel must have I2C support, I2C device interface support, and a bus adapter driver.

Homepage: https://www.kernel.org/pub/software/utils/i2c-tools/

Version: 4.0-2

Section: universe/python