I have spent a lot of time trying to move onto AI section. Everything else up and runing, but I can’t install pidog.tts.
Has anyone else had this issue and resolved it?
Help!
I have spent a lot of time trying to move onto AI section. Everything else up and runing, but I can’t install pidog.tts.
Has anyone else had this issue and resolved it?
Help!
If you search for
tts
on this forum, there have been a few similar queries. Hopefully one of them will be the same as yours.
E.g.
But there’s several..
I have gone through the forum and can’t find a specific solution. I just can’t install pidog.tts and can’t understand why that would be.
Difficult for me to analyse without more debug information, I’m not an expert. Sunfounder will be able to help when they return after the weekend. I assume you’ve created and enabled the venv successfully with the use system libraries options etc.
I think I’ve installed everything requested prior to this stage.
It just keeps saying pydog.tts module not avaliable and I can find no way of installing it.
I’m also having trouble getting Pico2Wave or Espeak working on my Pidog 2 with a Raspberry Pi 4. I can’t get it to work; any suggestions?
raceback (most recent call last):
File “/home/pi/pidog/examples/test_tts_espeak.py”, line 1, in
from pidog.tts import Espeak
ModuleNotFoundError: No module named ‘pidog.tts’
To help us troubleshoot, please confirm two things:
Reinstall all libraries from this guide first, then try your project again: 5. Install All the Modules(Important) — SunFounder PiDog Kit 1.0 documentation
Check your library versions by running these commands and tell us the output:
Check Robot Hat Version:
cat /usr/local/lib/python3.13/dist-packages/robot_hat/version.py
Expected Output: _version_ = ‘2.5.1’
Check Pidog Version:
cat /usr/local/lib/python3.13/dist-packages/pidog/version.py
Expected Output: _version_ = “1.3.10a1”
Please report the results back to us.
Excuse me, I’m new to this. What would the command be to see the version? Gracias
We have provided the commands for checking earlier.
Run this command to check the version of your Robot HAT:
Command: cat /usr/local/lib/python3.13/dist-packages/robot_hat/version.py
The expected correct output should be:
version = ‘2.5.1’
Run this command to check the version of your Pidog:
Command: cat /usr/local/lib/python3.13/dist-packages/pidog/version.py
The expected correct output should be:
version = “1.3.10a1”
Hello I am also having trouble with getting Espeak and Pico2Wave working. I ran the commands as per above and my robot hat version is 2.5.1 and PiDog version is 1.3.10a1. The error i get when I run the command sudo python3 test_tts_espeak.py is:
Traceback (most recent call last):
File “/home/pi/pidog/examples/test_tts_espeak.py”, line 1, in
from pidog.tts import Espeak
ImportError: cannot import name ‘Espeak’ from ‘pidog.tts’ (/usr/local/lib/python3.11/dist-packages/pidog/tts.py)
What operating system version are you currently using?
Did you encounter any error messages during the installation of all the library code?
We recommend that you reinstall the operating system, then install all the necessary library code, and finally run the example to see the result.
Please refer to the following guide:
Important: Do not execute the command: sudo apt install git python3-pip python3-setuptools python3-smbus.
Instead, directly install the robot-hat, vilib, and pidog library code, and then run i2samp.sh.
Thank you - I fixed it! Yep I was not on the latest 64bit OS. Its working now
Thank you!