I was ale to get Pocketsphinx to install without error using
sudo apt-get install pocketsphinx
However when I try to use it I get an error of:
ImportError: No Module named pocketsphinx
Hi Pamela,
This is a #issue from Python, please refer to PIP version and manual. Try with:
sudo -H pip install --upgrade pocketsphinx
After this, should work.
The Thecorpora Team
You need a file named __init__.py (two underscores on each side) in every folder in the hierarchy, so one in src/ and one in model/. This is what python looks for to know that it should access a particular folder. The files are meant to contain initialization instructions but even if you create them empty this will solve it. To get rid of this error “ImportError: No module named”, you just need to create __init__.py in the appropriate directory and everything will work fine.
I advise you to read my textbook to implement Q.BO STEM or Q.BO One at the latest version, with which you can also make it play with chat-gpt.