BH1745 module error

I’m having an issue using the BH1745 colour sensor with a Pi Zero W and the mini breakout garden. I’ve installed the python library modules but I receive the following error when trying to run any of the examples. What am I missing?

I’ve viewed the code in question and I’ve included the snippet where it fails below the error.

Traceback (most recent call last):
  File "", line 4, in <module>
    colour = bh1745.BH1745()
  File "/home/pi/test_env/lib/python3.7/site-packages/bh1745/", line 108, in __init__
    ), read_only=True, volatile=False)
  File "/home/pi/test_env/lib/python3.7/site-packages/i2cdevice/", line 166, in __init__
    self._i2c = smbus.SMBus(1)
FileNotFoundError: [Errno 2] No such file or directory


        if self._i2c is None:
            import smbus
            self._i2c = smbus.SMBus(1)

Any help appreciated.

Figured it out, hadn’t enabled the I2C kernal module.