Python error in first (calibration) script of new PiCar-X

The first PiCar test script I started on my new PiCar-X with the newest Raspberry Pi OS gave a python-related fatal error.

A concerning message “no robot hat 5 found“ … “config sound card without mic“ happened during the i2samp.sh script.
My kit came with robot hat v4 with speaker on top and a USB mic. Should there be taken any action on this message?

rPi OS has python v3.13.5 of june 2025, command python3 is identical.
Installation of the software gave no errors, except warnings about running pip as root and the chance on breaking system packages.

The first python script according the installation guide is the calibration tool:
$ sudo python 1.cali_servo_motor.py

the first error:
$ sudo python3 1.cali_servo_motor.py
Traceback (most recent call last):
File “/home/frans/picar-x/example/1.cali_servo_motor.py”, line 4, in
import readchar
ModuleNotFoundError: No module named ‘readchar’

was solved with:

$ sudo pip install --break-system-packages readchar

now the calibration tool runs normally, as far as I can see.

Are there any more problems to expect with the current rPi OS and python v3.13?

My system: a new, up-to-date version 5 with 8 GB memory and a 256 GB NVMe attached M.2 SSD on a Pimoroni Base card.

Glad to see you’ve solved the problem.

The error you encountered was likely because the ‘readchar’ library failed to install when you initially set up all the required libraries. This caused the error when running the example. After you separately installed ‘readchar’, the example was able to run successfully.

Unusual. Sunfounders vilib install.py should install readchar. Is camera/vilib working OK?