# How upgrade robot hat and pidog V1 raspberry pi4/B 8GB

**URL:** <https://forum.sunfounder.com/t/how-upgrade-robot-hat-and-pidog-v1-raspberry-pi4-b-8gb/4318>\
**Category:** General\
**Created:** [January 28, 2026, 3:30pm UTC](https://forum.sunfounder.com/t/how-upgrade-robot-hat-and-pidog-v1-raspberry-pi4-b-8gb/4318 "2026-01-28T15:30:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jean-luc.boucharel](https://avatars.discourse-cdn.com/v4/letter/j/a88e4f/32.png) [@jean-luc.boucharel](https://forum.sunfounder.com/u/jean-luc.boucharel)\
**Post date:** [January 28, 2026, 3:30pm UTC](https://forum.sunfounder.com/t/how-upgrade-robot-hat-and-pidog-v1-raspberry-pi4-b-8gb/4318/1 "2026-01-28T15:30:07Z")

</div>

Help me

How upgrade version robot hat ‘2.3.5’ to ‘2.5.1’

How upgrade version pidog "1.3.9” to “1.3.10a1”

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [January 29, 2026, 6:55am UTC](https://forum.sunfounder.com/t/how-upgrade-robot-hat-and-pidog-v1-raspberry-pi4-b-8gb/4318/2 "2026-01-29T06:55:44Z")

</div>

To update and upgrade robot-hat:  
cd ~/robot-hat  
git checkout -f 2.5.x  
sudo python3 install.py

To update and upgrade pidog:  
cd ~/pidog  
git pull  
sudo pip3 install . --break  
Please try these commands and see if the update and upgrade process completes normally.

---

<div class="post-metadata">

**Author:** ![jean-luc.boucharel](https://avatars.discourse-cdn.com/v4/letter/j/a88e4f/32.png) [@jean-luc.boucharel](https://forum.sunfounder.com/u/jean-luc.boucharel)\
**Post date:** [January 29, 2026, 1:25pm UTC](https://forum.sunfounder.com/t/how-upgrade-robot-hat-and-pidog-v1-raspberry-pi4-b-8gb/4318/3 "2026-01-29T13:25:24Z")

</div>

> [@SunFounder\_Moderator](#):
>
> cd ~/pidog  
> git pull  
> sudo pip3 install . --break
> 
> Last login: Thu Jan 29 13:56:34 on ttys000  
> bouchareljean-luc@MacBook-Air-de-Boucharel ~ % ssh [pi@192.168.0.154](mailto:pi@192.168.0.154)  
> [pi@192.168.0.154](mailto:pi@192.168.0.154)’s password:  
> Linux raspberrypi 6.12.62+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.62-1+rpt1 (2025-12-18) aarch64
> 
> The programs included with the Debian GNU/Linux system are free software;  
> the exact distribution terms for each program are described in the  
> individual files in /usr/share/doc/\*/copyright.
> 
> Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent  
> permitted by applicable law.  
> Last login: Thu Jan 29 12:57:11 2026 from 192.168.0.33  
> pi@raspberrypi:~ $ cd ~/pidog  
> git pull  
> sudo pip3 install . --break  
> Updating cce4486..d2f64d4  
> error: The following untracked working tree files would be overwritten by merge:  
> examples/18.online\_llm\_test.py  
> examples/19\_voice\_active\_dog\_ollama.py  
> Please move or remove them before you merge.  
> Aborting  
> Looking in indexes: [Simple index](https://pypi.org/simple), [piwheels - Simple index](https://www.piwheels.org/simple)  
> Processing /home/pi/pidog  
> Preparing metadata (setup.py) … done  
> Requirement already satisfied: robot\_hat\>=2.0.0 in /usr/local/lib/python3.13/dist-packages (from pidog==1.3.9) (2.5.0a1)  
> Requirement already satisfied: readchar in /usr/local/lib/python3.13/dist-packages (from pidog==1.3.9) (4.2.1)  
> Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from pidog==1.3.9) (2.2.4)  
> Requirement already satisfied: piper-tts in /usr/local/lib/python3.13/dist-packages (from robot\_hat\>=2.0.0-\>pidog==1.3.9) (1.3.0)  
> Requirement already satisfied: vosk in /usr/local/lib/python3.13/dist-packages (from robot\_hat\>=2.0.0-\>pidog==1.3.9) (0.3.45)  
> Requirement already satisfied: sox in /usr/local/lib/python3.13/dist-packages (from robot\_hat\>=2.0.0-\>pidog==1.3.9) (1.5.0)  
> Requirement already satisfied: onnxruntime\<2,\>=1 in /usr/local/lib/python3.13/dist-packages (from piper-tts-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (1.23.2)  
> Requirement already satisfied: coloredlogs in /usr/local/lib/python3.13/dist-packages (from onnxruntime\<2,\>=1-\>piper-tts-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (15.0.1)  
> Requirement already satisfied: flatbuffers in /usr/local/lib/python3.13/dist-packages (from onnxruntime\<2,\>=1-\>piper-tts-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (20181003210633)  
> Requirement already satisfied: packaging in /usr/lib/python3/dist-packages (from onnxruntime\<2,\>=1-\>piper-tts-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (25.0)  
> Requirement already satisfied: protobuf in /usr/local/lib/python3.13/dist-packages (from onnxruntime\<2,\>=1-\>piper-tts-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (6.32.1)  
> Requirement already satisfied: sympy in /usr/local/lib/python3.13/dist-packages (from onnxruntime\<2,\>=1-\>piper-tts-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (1.14.0)  
> Requirement already satisfied: humanfriendly\>=9.1 in /usr/local/lib/python3.13/dist-packages (from coloredlogs-\>onnxruntime\<2,\>=1-\>piper-tts-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (10.0)  
> Requirement already satisfied: typing-extensions\>=3.7.4.2 in /usr/lib/python3/dist-packages (from sox-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (4.13.2)  
> Requirement already satisfied: mpmath\<1.4,\>=1.1.0 in /usr/local/lib/python3.13/dist-packages (from sympy-\>onnxruntime\<2,\>=1-\>piper-tts-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (1.3.0)  
> Requirement already satisfied: cffi\>=1.0 in /usr/local/lib/python3.13/dist-packages (from vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (2.0.0)  
> Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (2.32.3)  
> Requirement already satisfied: tqdm in /usr/lib/python3/dist-packages (from vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (4.67.1)  
> Requirement already satisfied: srt in /usr/local/lib/python3.13/dist-packages (from vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (3.5.3)  
> Requirement already satisfied: websockets in /usr/local/lib/python3.13/dist-packages/websockets-15.0.1-py3.13.egg (from vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (15.0.1)  
> Requirement already satisfied: pycparser in /usr/local/lib/python3.13/dist-packages (from cffi\>=1.0-\>vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (3.0)  
> Requirement already satisfied: charset\_normalizer\<4,\>=2 in /usr/lib/python3/dist-packages (from requests-\>vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (3.4.2)  
> Requirement already satisfied: idna\<4,\>=2.5 in /usr/lib/python3/dist-packages (from requests-\>vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (3.10)  
> Requirement already satisfied: urllib3\<3,\>=1.21.1 in /usr/lib/python3/dist-packages (from requests-\>vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (2.3.0)  
> Requirement already satisfied: certifi\>=2017.4.17 in /usr/lib/python3/dist-packages (from requests-\>vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (2025.1.31)  
> Building wheels for collected packages: pidog  
> DEPRECATION: Building ‘pidog’ using the legacy setup.py bdist\_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of ‘pidog’. Discussion can be found at [Deprecate legacy `setup.py bdist_wheel` mechanism for building projects · Issue #6334 · pypa/pip · GitHub](https://github.com/pypa/pip/issues/6334)  
> Building wheel for pidog (setup.py) … done  
> Created wheel for pidog: filename=pidog-1.3.9-py3-none-any.whl size=31626 sha256=928c806f652da3243b10ab04bb7b3c6e7cfb1cbdf6161f9353595af44c3325c9  
> Stored in directory: /tmp/pip-ephem-wheel-cache-dhkj7vdl/wheels/d1/49/2b/1210f252bba4c41f068b764bdba1c92e6bd721ed6dc334ad05  
> Successfully built pidog  
> Installing collected packages: pidog  
> Attempting uninstall: pidog  
> Found existing installation: pidog 1.3.9  
> Uninstalling pidog-1.3.9:  
> Successfully uninstalled pidog-1.3.9  
> Successfully installed pidog-1.3.9  
> WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: [12. Virtual Environments and Packages — Python 3.14.2 documentation](https://pip.pypa.io/warnings/venv). Use the --root-user-action option if you know what you are doing and want to suppress this warning.  
> pi@raspberrypi:~/pidog $ cd ~/robot-hat  
> git checkout -f 2.5.x  
> sudo python3 install.py  
> Already on ‘2.5.x’  
> Your branch is up to date with ‘origin/2.5.x’.  
> Robot Hat Python Library v2.5.0a1
> 
> - install robot\_hat package … Done  
> Install dependencies with apt-get:
> - update apt-get … Done
> - install raspi-config … Done
> - install i2c-tools … Done
> - install espeak … Done
> - install libsdl2-dev … Done
> - install libsdl2-mixer-dev … Done
> - install portaudio19-dev … Done
> - install sox … Done
> - install pico2wave … Done  
> Install dependencies with pip3:  
> pip3 install with --break-system-packages
> - update pip3 … Done
> - install smbus2 … Done
> - install gpiozero … Done
> - install pyaudio … Done
> - install spidev … Done
> - install pyserial … Done
> - install pillow … Done
> - install ‘pygame\>=2.1.2’ … Done  
> Setup interfaces
> - turn on I2C … Done
> - turn on SPI … Done  
> Copy dtoverlay
> - copy dtoverlay … Done  
> Finished  
> pi@raspberrypi:~/robot-hat $ cat /usr/local/lib/python3.13/dist-packages/robot\_hat/version.py  
> **version** = ‘2.5.0a1’  
> pi@raspberrypi:~/robot-hat $ cd ~/pidog  
> git pull  
> sudo pip3 install . --break  
> Updating cce4486..d2f64d4  
> error: The following untracked working tree files would be overwritten by merge:  
> examples/18.online\_llm\_test.py  
> examples/19\_voice\_active\_dog\_ollama.py  
> Please move or remove them before you merge.  
> Aborting  
> Looking in indexes: [Simple index](https://pypi.org/simple), [piwheels - Simple index](https://www.piwheels.org/simple)  
> Processing /home/pi/pidog  
> Preparing metadata (setup.py) … done  
> Requirement already satisfied: robot\_hat\>=2.0.0 in /usr/local/lib/python3.13/dist-packages (from pidog==1.3.9) (2.5.0a1)  
> Requirement already satisfied: readchar in /usr/local/lib/python3.13/dist-packages (from pidog==1.3.9) (4.2.1)  
> Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from pidog==1.3.9) (2.2.4)  
> Requirement already satisfied: piper-tts in /usr/local/lib/python3.13/dist-packages (from robot\_hat\>=2.0.0-\>pidog==1.3.9) (1.3.0)  
> Requirement already satisfied: vosk in /usr/local/lib/python3.13/dist-packages (from robot\_hat\>=2.0.0-\>pidog==1.3.9) (0.3.45)  
> Requirement already satisfied: sox in /usr/local/lib/python3.13/dist-packages (from robot\_hat\>=2.0.0-\>pidog==1.3.9) (1.5.0)  
> Requirement already satisfied: onnxruntime\<2,\>=1 in /usr/local/lib/python3.13/dist-packages (from piper-tts-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (1.23.2)  
> Requirement already satisfied: coloredlogs in /usr/local/lib/python3.13/dist-packages (from onnxruntime\<2,\>=1-\>piper-tts-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (15.0.1)  
> Requirement already satisfied: flatbuffers in /usr/local/lib/python3.13/dist-packages (from onnxruntime\<2,\>=1-\>piper-tts-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (20181003210633)  
> Requirement already satisfied: packaging in /usr/lib/python3/dist-packages (from onnxruntime\<2,\>=1-\>piper-tts-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (25.0)  
> Requirement already satisfied: protobuf in /usr/local/lib/python3.13/dist-packages (from onnxruntime\<2,\>=1-\>piper-tts-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (6.32.1)  
> Requirement already satisfied: sympy in /usr/local/lib/python3.13/dist-packages (from onnxruntime\<2,\>=1-\>piper-tts-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (1.14.0)  
> Requirement already satisfied: humanfriendly\>=9.1 in /usr/local/lib/python3.13/dist-packages (from coloredlogs-\>onnxruntime\<2,\>=1-\>piper-tts-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (10.0)  
> Requirement already satisfied: typing-extensions\>=3.7.4.2 in /usr/lib/python3/dist-packages (from sox-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (4.13.2)  
> Requirement already satisfied: mpmath\<1.4,\>=1.1.0 in /usr/local/lib/python3.13/dist-packages (from sympy-\>onnxruntime\<2,\>=1-\>piper-tts-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (1.3.0)  
> Requirement already satisfied: cffi\>=1.0 in /usr/local/lib/python3.13/dist-packages (from vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (2.0.0)  
> Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (2.32.3)  
> Requirement already satisfied: tqdm in /usr/lib/python3/dist-packages (from vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (4.67.1)  
> Requirement already satisfied: srt in /usr/local/lib/python3.13/dist-packages (from vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (3.5.3)  
> Requirement already satisfied: websockets in /usr/local/lib/python3.13/dist-packages/websockets-15.0.1-py3.13.egg (from vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (15.0.1)  
> Requirement already satisfied: pycparser in /usr/local/lib/python3.13/dist-packages (from cffi\>=1.0-\>vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (3.0)  
> Requirement already satisfied: charset\_normalizer\<4,\>=2 in /usr/lib/python3/dist-packages (from requests-\>vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (3.4.2)  
> Requirement already satisfied: idna\<4,\>=2.5 in /usr/lib/python3/dist-packages (from requests-\>vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (3.10)  
> Requirement already satisfied: urllib3\<3,\>=1.21.1 in /usr/lib/python3/dist-packages (from requests-\>vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (2.3.0)  
> Requirement already satisfied: certifi\>=2017.4.17 in /usr/lib/python3/dist-packages (from requests-\>vosk-\>robot\_hat\>=2.0.0-\>pidog==1.3.9) (2025.1.31)  
> Building wheels for collected packages: pidog  
> DEPRECATION: Building ‘pidog’ using the legacy setup.py bdist\_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of ‘pidog’. Discussion can be found at [Deprecate legacy `setup.py bdist_wheel` mechanism for building projects · Issue #6334 · pypa/pip · GitHub](https://github.com/pypa/pip/issues/6334)  
> Building wheel for pidog (setup.py) … done  
> Created wheel for pidog: filename=pidog-1.3.9-py3-none-any.whl size=31626 sha256=79b76b8b53566810d4495bc6d6ea8f3b4fbfae67066fec84730823d15a5f619d  
> Stored in directory: /tmp/pip-ephem-wheel-cache-t36hvpdk/wheels/d1/49/2b/1210f252bba4c41f068b764bdba1c92e6bd721ed6dc334ad05  
> Successfully built pidog  
> Installing collected packages: pidog  
> Attempting uninstall: pidog  
> Found existing installation: pidog 1.3.9  
> Uninstalling pidog-1.3.9:  
> Successfully uninstalled pidog-1.3.9  
> Successfully installed pidog-1.3.9  
> WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: [12. Virtual Environments and Packages — Python 3.14.2 documentation](https://pip.pypa.io/warnings/venv). Use the --root-user-action option if you know what you are doing and want to suppress this warning.  
> pi@raspberrypi:~/pidog $ cat /usr/local/lib/python3.13/dist-packages/pidog/version.py  
> **version** = “1.3.9”  
> pi@raspberrypi:~/pidog $
> 
> Update works for robot hat but no upgrade for pidog
