https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c
sudo apt-get install python-smbus
sudo apt-get install i2c-tools
sudo i2cdetect -y 1
to check if it works
sudo pip3 install adafruit-circuitpython-servokit
from adafruit_servokit import ServoKit
kit = ServoKit(channels=16)
kit.servo[0].angle = 180
follow this link:
https://forums.raspberrypi.com/viewtopic.php?t=307157
you may need to upgrade numpy
pip install numpy --upgrade