Samples/' does not work

Hello all
I’m using the code in
The code in gives the following error, other samples work
I see in the repos history that a recent commit purported to add this " Add illuminance of light sensor"

Does anyone here have a fix or workaround?

$ sudo python3
Traceback (most recent call last):
File “”, line 7, in
AttributeError: ‘_Core’ object has no attribute ‘illuminance’ works for me…

is the path “/sys/bus/iio/devices/iio:device0/in_illuminance_input” there?
If not, maybe reinstall the drivers.


Yes that path was there. I ran install_lib and it now worked.
Thanks again