Sahi
November 10, 2024, 9:29pm
#1
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 PJ
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:
Today, we will discuss How to Interface LCD 16x2 with Raspberry Pi 4, first we will create the circuit diagram and then will design the Rpi4 code in python for LCD.
Est. reading time: 9 minutes
1 Like