Please help with hint

hasi@raspberrypi:~ $ cd ~/pidog/examples

sudo python3 servo_zeroing.py

Traceback (most recent call last):

File “/home/hasi/pidog/examples/servo_zeroing.py”, line 3, in

from robot_hat.utils import reset_mcu

ImportError: cannot import name ‘reset_mcu’ from ‘robot_hat.utils’ (/usr/local/lib/python3.13/dist-packages/robot_hat-2.2.1-py3.13.egg/robot_hat/utils.py)

hasi@raspberrypi:~/pidog/examples $

Could you please let us know which system image version you are currently using?

Please be advised that we have recently updated our codebase, and the official tutorials have not yet been fully synchronized. Please follow the commands below to install all the necessary libraries.

We recommend starting with a fresh system installation before proceeding:

Step 1: Install robot-hat

cd ~/
git clone -b 2.5.x GitHub - sunfounder/robot-hat: Robot Hat python library --depth 1
cd robot-hat
sudo python3 install.py

Step 2: Install vilib

cd ~/
git clone GitHub - sunfounder/vilib: Vision library for python
cd vilib
sudo python3 install.py

Step 3: Install PiDog

cd ~
sudo rm -rf pidog
git clone -b dev GitHub - sunfounder/pidog: Raspberry Pi Robot Dog from SunFounder --depth 1
cd pidog
sudo pip3 install . --break

Important: Please note that the correct command is sudo pip3 install . --break, not sudo pip3 install . --break-system-packages.

Step 4: Configure I2S AMP

cd ~/robot-hat
sudo bash i2samp.sh

Thank you problem solved!!