pi pico i2c in arduino ide
Change the pin that sda and scl are set to in the pins_arduino.h file located in
AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\2.2.0\variants\RASPBERRY_PI_PICO
change 
#define PIN_WIRE_SDA        (20u)            
#define PIN_WIRE_SCL        (19u)
(or whatever is there) to
#define PIN_WIRE_SDA        (8u)            
#define PIN_WIRE_SCL        (9u)