This gist contains a simple example of the WaveShare Pico 10DOF IMU sensor module for RaspberyPi Pico using the Adafruit CircuitPython libraries instead of the chaotic WaveShare example code.
You need to setup your RaspberryPi Pico to run CircuitPython by: