# ModuleNotFoundError: No module named 'readchar' Pidog v2

**URL:** <https://forum.sunfounder.com/t/modulenotfounderror-no-module-named-readchar-pidog-v2/3988>\
**Category:** Robotic kit for Raspberry Pi\
**Created:** [November 5, 2025, 6:04pm UTC](https://forum.sunfounder.com/t/modulenotfounderror-no-module-named-readchar-pidog-v2/3988 "2025-11-05T18:04:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![FluxFae](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.sunfounder.com/fluxfae/32/2013_2.png) [@FluxFae](https://forum.sunfounder.com/u/FluxFae)\
**Post date:** [November 5, 2025, 6:04pm UTC](https://forum.sunfounder.com/t/modulenotfounderror-no-module-named-readchar-pidog-v2/3988/1 "2025-11-05T18:04:09Z")

</div>

Hello,

I followed the instructions for installing all the libraries for pidog, following the steps in this topic:

> [@Libhdf5-130 Install Error running sudo python3 install.py](https://forum.sunfounder.com/t/libhdf5-130-install-error-running-sudo-python3-install-py/3888/8):
>
> I followed the installation instructions provided by the moderator and it worked correctly. I have a Pidog version 2 with a Raspberry Pi 5.

Now, when I try to continue with the configuration, I get this error when I run the 0\_calibration.py file:  
user1@raspberrypi:~ $ cd ~/pidog/examples

user1@raspberrypi:~/pidog/examples $ sudo python3 0\_calibration.py

Traceback (most recent call last):

File “/home/user1/pidog/examples/0\_calibration.py”, line 9, in

```
my_dog = Pidog()

```

File “/usr/local/lib/python3.13/dist-packages/pidog/pidog.py”, line 134, in \__init_\_

```
from .actions_dictionary import ActionDict

```

File “/usr/local/lib/python3.13/dist-packages/pidog/actions\_dictionary.py”, line 4, in

```
from .trot import Trot

```

File “/usr/local/lib/python3.13/dist-packages/pidog/trot.py”, line 19, in

```
import readchar

```

ModuleNotFoundError: No module named ‘readchar’

How can I fix this error? Thanks!

---

<div class="post-metadata">

**Author:** ![Spf650](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Spf650](https://forum.sunfounder.com/u/Spf650)\
**Post date:** [November 5, 2025, 6:34pm UTC](https://forum.sunfounder.com/t/modulenotfounderror-no-module-named-readchar-pidog-v2/3988/3 "2025-11-05T18:34:59Z")

</div>

Was the vilib module install successful?

Or just try to reinstall…

cd ~/

git clone -b picamera2 [GitHub - sunfounder/vilib: Vision library for python](https://github.com/sunfounder/vilib.git) --depth 1

cd vilib

sudo python3 install.py

readchar should be installed as part of this module

See

> **[GitHub - sunfounder/vilib: Vision library for python](https://github.com/sunfounder/vilib)**
>
> Vision library for python

---

<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:** [November 6, 2025, 3:40am UTC](https://forum.sunfounder.com/t/modulenotfounderror-no-module-named-readchar-pidog-v2/3988/4 "2025-11-06T03:40:57Z")

</div>

FluxFae, please confirm that all libraries were installed successfully without any error messages.  
We recommend that you run the installation commands again to reinstall all libraries, and then try running the example to see if it works.  
We have verified that the 0\_calibration.py example runs correctly for servo calibration.

---

<div class="post-metadata">

**Author:** ![FluxFae](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.sunfounder.com/fluxfae/32/2013_2.png) [@FluxFae](https://forum.sunfounder.com/u/FluxFae)\
**Post date:** [November 6, 2025, 8:19am UTC](https://forum.sunfounder.com/t/modulenotfounderror-no-module-named-readchar-pidog-v2/3988/5 "2025-11-06T08:19:43Z")

</div>

Hello,

Thank you very much for the instructions. Reinstalling the vilib module fixed the issue of being able to run the calibration script.

During the vilib installation, I noticed that two dependencies were not installed:

Start installing vilib 0.3.18 for user user1  
Python version: 3.13.5  
Raspbian version: 13 (64bit)

mediapipe is only supported on 64bit system with python 3.12 or older.  
tflite-runtime is only supported on python 3.12 or older.  
…  
…  
…  
mediapipe is not supported on this platform… Skip  
ai-edge-litert is not supported on this platform… Skip

My plan is to set up a local SLM, but I see that the current Python version isn’t compatible with these dependencies. Do I need to downgrade Python?

---

<div class="post-metadata">

**Author:** ![Spf650](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Spf650](https://forum.sunfounder.com/u/Spf650)\
**Post date:** [November 6, 2025, 2:55pm UTC](https://forum.sunfounder.com/t/modulenotfounderror-no-module-named-readchar-pidog-v2/3988/6 "2025-11-06T14:55:10Z")

</div>

Yes, there’s been no sign of activity on 3.13 support for over a year, so I’d suggest your best route is to downgrade your Python. Or use a mediapipe alternative.

I would also suggest adding a formal request for this upgrade. Google say they’re waiting for enough requests to allocate resources, so every request will help!

---

<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:** [November 7, 2025, 2:45am UTC](https://forum.sunfounder.com/t/modulenotfounderror-no-module-named-readchar-pidog-v2/3988/7 "2025-11-07T02:45:09Z")

</div>

Please refer to: [https://drive.google.com/file/d/1WRevAxF4Ep5hWuGBFRlZdpc\_yDGq6G0N/view?usp=sharing](https://drive.google.com/file/d/1WRevAxF4Ep5hWuGBFRlZdpc_yDGq6G0N/view?usp=sharing)
