# Error running installation\_verification.py program

**URL:** <https://xrp.discourse.group/t/error-running-installation-verification-py-program/360>\
**Category:** Support\
**Created:** [May 25, 2024, 1:50pm UTC](https://xrp.discourse.group/t/error-running-installation-verification-py-program/360 "2024-05-25T13:50:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![BlueEpiphone](https://avatars.discourse-cdn.com/v4/letter/b/f05b48/32.png) [@BlueEpiphone](https://xrp.discourse.group/u/BlueEpiphone)\
**Post date:** [May 25, 2024, 6:03pm UTC](https://xrp.discourse.group/t/error-running-installation-verification-py-program/360/2 "2024-05-25T18:03:14Z")

</div>

OK, I resolved this issue myself. Turns out I had plugged in the range-finder in to the wrong port and that made it so that the IMU on the I2C port didn’t respond. The port I plugged into was the Qwiic port, which is part of the I2C bus, most likely, which probably interfered with the IMU as well. Here is how I diagnosed the issue.

I discovered this response to a similar issue. [ERROR reading in XRPLib.defaults - #2 by SparkFro](https://xrp.discourse.group/t/error-reading-in-xrplib-defaults/155/2)  
When I follow the procedure to comment out the IMU and the drivetrain, I was able to cycle through the tests until I get to the drivetrain test. The range sensor test also failed with this output:  
Range Distance: 65535.0 Press user button to test servo

I followed the instructions in this post to do an I2C scan and got back a null array.

> [@(Where) is Qwiic demo code available (such as from the webinar)?](https://xrp.discourse.group/t/where-is-qwiic-demo-code-available-such-as-from-the-webinar/101/6):
>
> For those who want to dive into using Qwiic devices right now, here’s a quick set of instructions that should get you up and running. This is along the lines of how we’re planning to implement it in the next software release (subject to change), except the installation process should be automated once finalized. Please understand that if you choose to do this before the next software release, some things may not work and there will be limited support. Add Qwiic\_I2C\_Py Driver In [XRPCode](https://xrpcode.wpi.edu/), connec…

My result

> > > import qwiic\_i2c  
> > > i2cDriver = qwiic\_i2c.getI2CDriver()  
> > > i2cDriver.scan()

So, the range-sensor failure clued me into the plug being wrong and once corrected, I was able to complete the initialization test and get a [107] response from the i2c scan.

---

_[View the full topic](https://xrp.discourse.group/t/error-running-installation-verification-py-program/360)._
