I bought a sgp30 sensor.
When it arrived I tried to use it but so far no luck.
I tried to install using garden breakout installer, but it does not support sgp30.
I installed manually using instructions (there are two ways and both do not work)
Installation was successful but when I tried to run example, I see this error:
ImportError: cannot import name ‘SGP30’ from ‘sgp30’
I check is the package was installed using pip3 list. I can see:
sgp30 0.1.6
I check is sensor is detected
i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – -- – -- – -- – -- –
10: 10 – -- – -- – -- – -- – -- – -- – -- –
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- 38 – -- – 3c – -- –
40: – -- – -- – -- – -- – -- – -- – -- – --
50: – -- – -- – -- – -- 58 – -- – -- – -- –
60: – -- – -- – -- – -- 68 – -- – -- – -- –
70: – -- – -- – -- 76 –
So all 6 sensors are detected and only sgp30 (58) has this issue
I am using Pi 3+ ( i upgraded the software to the newest version, Python 3.7.3, )
any idea what I could do wrong?