I am tryiunig to get Kali Linux working with my i2c 0.96 OLED Display
This works fine running raspberry pi os.
I use the following commands to get it working in raspberry pi os
Sudo raspi-config
Interfaces
I2c
Enable
Finish
sudo apt-get install python3-smbus
sudo apt-get install i2c-tools
sudo apt-get install python3
sudo apt-get install python3-pip
sudo reboot
sudo pip3 install Adafruit_BBIO
sudo i2cdetect -y 1
sudo python3 -m pip install --upgrade pip setuptools wheel
sudo apt-get update
sudo apt install git
sudo git clone https://github.com/adafruit/Adafruit_Python_SSD1306.git
cd Adafruit_Python_SSD1306
sudo python3 setup.py install
sudo apt install python3-pil
python3 stats.py