I2C on Feather M0

I'm working on a project that requires me to use I2C to store data from a TSL2591 lux sensor and BMP180 pressure sensor onto the SD card of an Adafruit Feather M0 Adalogger, but non of my test sketches work, even example sketches for the sensors, but when I upload Blink or some other basic sketch, it works.

Oh, on some computers I installed the Adafruit drivers on got viruses or became super slow almost immediately, and I got them from the website.

It might help to see those test sketches that don't work. You should also post the (complete) wiring diagram of your setup.