You must enable (delete where appropriate):
- i2c:
sudo raspi-config nonint do_i2c 0
- spi:
sudo raspi-config nonint do_spi 0
You can optionally run sudo raspi-config
or the graphical Raspberry Pi Configuration UI to enable interfaces.
Stable library from PyPi:
- Just run
sudo pip install apds9500
Latest/development library from GitHub:
git clone https://github.com/pimoroni/apds9500-python
cd apds9500-python
sudo ./install.sh