Forum >URM09 I²C RaspberryPi - Python: FileNotFoundError

URM09 I²C RaspberryPi - Python: FileNotFoundError

userHead connochaetes 2022-06-22 06:16:54 540 Views3 Replies

Hi, I want to use the

 

Gravity: URM09 Ultrasonic Sensor (I²C)
SKU:SEN0304

 

with a Python program on a RaspberryPi 4. I am using THIS library from the product's wiki page. I saved the folder in the RaspberryPi's Downloads folder. Afterwards, I started “auto_measure.py” with mu (and thonny). Sadly, I got a few FileNotFoundErrors. The first one is directing to this line (no. 24):

 

urm09 = DFRobot_URM09_IIC(IIC_MODE, IIC_ADDRESS)

 

Since I used the sensor successfully on a RaspberryPi 3B, I am confident, that it's just a small step that I neglected.

 

Greetings to the community. Any help would be welcome.

2022-07-10 01:47:31

SOLVED

 

I decided to reset the RaspberryPi's complete operating system. (I wasn't able to figure out the old problem.) Afterwards, it just worked.

 

Again, greetings and thanks to the community.

userHeadPic connochaetes