Thank you. That fixed the issue.I don't know but any chance you're using one of my pH circuits? That error looks like it could be from mine. If so you need to add the following line to the /boot/config.txt file on the Pi. This will slow down the I2C bus so it can handle I2C stretching.
dtparam=i2c_arm_baudrate=10000
