Picar-X Installing robot-hat UTF-8

the following problem with utf-8
what can I do ?
HW and OS: PI4 , Rasüberry Pi OS (Legacy) German Version , also German Keyboard
… problem following:
creating /usr/local/lib/python3.9/dist-packages/robot_hat-2.2.11-py3.9.egg
Extracting robot_hat-2.2.11-py3.9.egg to /usr/local/lib/python3.9/dist-packages
robot-hat 2.2.11 is already the active version in easy-install.pth
Installing robot_hat script to /usr/local/bin

Installed /usr/local/lib/python3.9/dist-packages/robot_hat-2.2.11-py3.9.egg
Processing dependencies for robot-hat==2.2.11
Finished processing dependencies for robot-hat==2.2.11
Install dependencies with apt-get:

  • update apt-get… Done
  • install raspi-config… ‘utf-8’ codec can’t decode byte 0xe4 in position 33: invalid continuation byte

Thanks for your help

The problem should be caused by the way the code is compiled.
It is recommended to change the code compilation method to the international standard “UTF-8”.
It is possible that when you changed the system language, the compilation method changed with the language change.
After changing the compilation method to the international standard “UTF-8”, reboot the Raspberry Pi system and then run your job again.