Had the same problem, after a clean install with "I2C on" the ic2detection showed my sensor, then a python virtual environment setup and a reboot later, I go this error.
Turns out the raspi-config had "I2C off" in it and after sudo raspi-config and switching it on again, everything worked.