Help with lcd 16x2 to display IP Adress

Hello,

i am trying to connect a 16x2 lcd display and i want it to display the IP adress of the PI.
I am following the instructions at

I do:
sudo apt install python3-virtualenv
virtualenv -p python3 env
source env/bin/activate

then:
pip install rpi-gpio

then:
pip install rpi_ws281x

then:


 Grove.py installation FAILED, FAILED, FAILED

Hi there,
Did you reboot?
Kinda obvious but required , as well as an Apt get update
HTH
GL :slight_smile: PJ :v:

The error message “Grove.py installation FAILED, FAILED, FAILED” suggests that the installation script is attempting to install Python 2 packages, which are incompatible with newer Raspberry Pi OS versions that use Python 3. You have to install all necessary libraries for Python 3:

sudo apt update
sudo apt install python3-rpi.gpio python3-pip

Install rpi_ws281x Library:

pip3 install rpi_ws281x

Then you’ll need to Install grove.py Library:

git clone https://github.com/Seeed-Studio/grove.py
cd grove.py
sudo pip3 install .

If you need more info about interfacing LCD with Raspberry Pi, you can see here:

1 Like