I’m attempting to add another voice to the add-on “HyperTTS”, however I’m running into this error. I think the problem is with my install of Anki: I installed it in a venv using the instructions for Linux (ARM) at https://betas.ankiweb.net/, though I removed --pre
so that I have the stable version of Anki and not a beta. I can import speechd
successfully when I’m outside of the venv, but when inside the venv I get ModuleNotFoundError: No module named 'speechd'
Full log:
Error
An add-on you installed failed to load. If problems persist, please go to the Tools>Add-ons menu, and disable or delete the add-on.
When loading '??HyperTTS - Add speech to your flashcards??':
??Traceback (most recent call last):
File "/home/anki-user/pyenv/lib/python3.9/site-packages/aqt/addons.py", line 247, in loadAddons
__import__(addon.dir_name)
File "/sdcard/Anki/addons21/111623432/__init__.py", line 134, in <module>
service_manager.init_services()
File "/sdcard/Anki/addons21/111623432/servicemanager.py", line 87, in init_services
self.import_services()
File "/sdcard/Anki/addons21/111623432/servicemanager.py", line 96, in import_services
__import__(self.package_name, globals(), locals(), [module_name], sys._addon_import_level_base)
File "/sdcard/Anki/addons21/111623432/services/service_speechd.py", line 6, in <module>
import speechd
ModuleNotFoundError: No module named 'speechd'