Cannot setup Enviro+ with Ubuntu on Pi4

I have been trying to setup PIMORONI Enviro+ but I can’t. I am having several issues. I had been trying several approaches

  1. curl -sSL …get.pimoroni.com/enviroplus | bash

This script will install everything needed to use
Enviro+

Always be careful when running scripts and commands copied
from the internet. Ensure they are from a trusted source.

If you want to see what this script does before running it,
you should run: ‘curl …://get.pimoroni.com/enviroplus-python’

This hardware is not supported, sorry!
Config files have been left untouched

:~$git clone …://github.com/pimoroni/enviroplus-python
:~$ cd enviroplus-python
:~/enviroplus-python$ sudo ./install.sh
Checking for python-configparser
Installing missing packages: python-configparser
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package python-configparser
./install.sh: line 117: python: command not found
3. for pthong configparser I already have done
sudo apt-get install python3-dev libmysqlclient-dev

sudo pip3 install configparser

  1. :~/enviroplus-python$ sudo ./install.sh
    Checking for python-configparser
    Installing missing packages: python-configparser
    Reading package lists… Done
    Building dependency tree… Done
    Reading state information… Done
    E: Unable to locate package python-configparser
    ./install.sh: line 117: python: command not found
    Error parsing configuration…

Kindly assist.

The installer is written for PiOS / Raspbian, and looks for PiOS. I’m thinking that is likely your issue.

1 Like

I also think this is the issue, but I am running docker-compose as well to monitor data. and docker-compose does not run on a 32bit OS. raspbian is a 32bit OS

I do believe this is the 64 bit version of PiOS. Still Beta though I think?
Index of /raspios_arm64/images (raspberrypi.org)
That being said, the Pimoroni installer may not like it?

Thank you for your reply. I will check it out and will post an update. :-)