# Issue installing Enviroplus library

**URL:** <https://forums.pimoroni.com/t/issue-installing-enviroplus-library/23254>\
**Category:** Support\
**Created:** [November 9, 2023, 4:17am UTC](https://forums.pimoroni.com/t/issue-installing-enviroplus-library/23254 "2023-11-09T04:17:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aragonite](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@aragonite](https://forums.pimoroni.com/u/aragonite)\
**Post date:** [November 9, 2023, 4:17am UTC](https://forums.pimoroni.com/t/issue-installing-enviroplus-library/23254/1 "2023-11-09T04:17:07Z")

</div>

Hi All

I am new to the rasberrypi world and have been having trouble with setting up my enviroplus on a rasberrypi zero W.

I’ve been following the installation guide for the enviroplus and have tried with 2 different pi zeros, as well as I’ve installed the software on a fresh boot of rasbian.

Additionally I have tried both installation methods:

curl -sSL [https://get.pimoroni.com/enviroplus](https://get.pimoroni.com/enviroplus) | bash

and

git clone [GitHub - pimoroni/enviroplus-python: Python library for the Enviro+ environmental monitoring board](https://github.com/pimoroni/enviroplus-python)  
cd enviroplus-python  
sudo ./install.sh

In all cases, the software appears to have installed correctly (as far as I can tell). But when I try to run the examples i get the error “RuntimeError: LTR559 not found” for all sensors.

Running sudo i2cdetect -y 1 checks out and I get the correct i2c address of 0x23, 0x49, and 0x76. So as far as I can tell the board is connected properly.

After a lot of googling the past few days, I found the suggestion to install each sensor separately/manually like so:

sudo pip install ltr559  
sudo pip install ST7735  
sudo pip install pms5003  
sudo apt install clang -y  
sudo pip install enviroplus

After doing this I am able to get all the sensors/examples working except for the particulate sensor.

When I try to run particulates.py, or connect to the particulate sensor I get the error " ```  
Error: serial device ‘/dev/ttyAMA0’ does not exist"

Anyone have similar issues? or can offer any suggestions? I’ve spent way to much time banging my head at my keyboard trying to get this working!

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [November 9, 2023, 7:59am UTC](https://forums.pimoroni.com/t/issue-installing-enviroplus-library/23254/2 "2023-11-09T07:59:45Z")

</div>

Do you have a particulate sensor connected?  
I only ask because its an optional extra.

---

<div class="post-metadata">

**Author:** ![aragonite](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@aragonite](https://forums.pimoroni.com/u/aragonite)\
**Post date:** [November 9, 2023, 8:19pm UTC](https://forums.pimoroni.com/t/issue-installing-enviroplus-library/23254/3 "2023-11-09T20:19:46Z")

</div>

Yep! it is connected and the fan is spinning. But I am not able to get the examples to run that utilize the sensor.

---

<div class="post-metadata">

**Author:** ![aragonite](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@aragonite](https://forums.pimoroni.com/u/aragonite)\
**Post date:** [November 9, 2023, 9:47pm UTC](https://forums.pimoroni.com/t/issue-installing-enviroplus-library/23254/4 "2023-11-09T21:47:31Z")

</div>

Finally got everything to work.

For some reason the installation does not work on the current version of Pi OS Bookworm.

I found this thread with a similar issue- [Installing the Weather HAT Python library fails - #2 by alphanumeric](https://forums.pimoroni.com/t/installing-the-weather-hat-python-library-fails/23115/2)

I reloaded my OS and used Pi OS (Legacy) instead and everything worked without issue.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [November 9, 2023, 10:39pm UTC](https://forums.pimoroni.com/t/issue-installing-enviroplus-library/23254/5 "2023-11-09T22:39:17Z")

</div>

I went Legacy on my Pi 400. At some point I’ll have to learn the new procedure. I have a Pi 5 on Preorder. No going Legacy on that.
