Hi,
Recently purchased and Enviro+ unit and am having trouble getting any “weather” data from it although I can get most other sensor data including the particulate data.
In particular I obtain the following error:
Traceback (most recent call last): File "weather.py", line 4, in <module> from bme280 import BME280 ImportError: No module named bme280
To clarify what I have done so far is:
- Feshly installed OS
- Ensured everything was updated running “sudo apt update” and then “sudo apt full-upgrade”.
- I then ran the following install command:
curl -sSL https://get.pimoroni.com/enviroplus | bash
- I then ran the example weather script as follows “python weather.py”. This produced the above error. (note that running “python particulates.py” or “python gas.py” the outputs are as expected.
Running “sudo i2cdetect -y 0” outputs the following:
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – 23 – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – 49 – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – 76 –
I have also tried installing manually and “all requirements are already satisfied”
sudo pip install pimoroni-bme280 pms5003 ltr559 st7735 ads1015
Thank you in advance.