You should install gtts first: sudo pip install gtts

Cheers,

Peter

On Wed, Feb 9, 2022 at 12:07 PM Carsten Alexander <[email protected]> wrote:

> Dear Peter,
>
> i’ve just installed Focal Fossa (Ubuntu 20.04) and mnemosyne. I did
>
> ~$ sudo apt-get install mnemosyne
> Ok.
>
> ~$ sudo apt-get install python3-cherrypy3 python3-matplotlib python3-pip
> python3-setuptools python3-webob
> Ok.
>
> ~$ sudo pip3 install PyQt5
> Requirement already satisfied: PyQt5 in /usr/lib/python3/dist-packages
> (5.14.1)
>
> I can’t do
> ~$ sudo python3 setup.py install
> because there’s no ./Mnemosyne-Directory at all.
>
> Mnemosyne says:
> An unexpected error has occurred.
> Please forward the following info to the developers:
>
> Traceback (innermost last):
>   File "/usr/bin/mnemosyne", line 268, in <module>
>     mnemosyne.initialise(data_dir=data_dir, filename=filename,
>   File
> "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", line
> 400, in initialise
>     self.register_components()
>   File
> "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", line
> 465, in register_components
>     importlib.import_module(module_name), class_name)
>   File "/usr/lib/python3.8/importlib/__init__.py", line 127, in
> import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
>   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
>   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
>   File "<frozen importlib._bootstrap>", line 975, in
> _find_and_load_unlocked
>   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
>   File "<frozen importlib._bootstrap_external>", line 848, in exec_module
>   File "<frozen importlib._bootstrap>", line 219, in
> _call_with_frames_removed
>   File
> "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/pronouncers/google_pronouncer.py",
> line 5, in <module>
>     from gtts import gTTS
>  ModuleNotFoundError: No module named 'gtts'
>
> Could you please help me?
>
> --
> You received this message because you are subscribed to the Google Groups
> "mnemosyne-proj-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mnemosyne-proj-users/9bc50886-32af-401f-9944-d5b4234bd11fn%40googlegroups.com
> <https://groups.google.com/d/msgid/mnemosyne-proj-users/9bc50886-32af-401f-9944-d5b4234bd11fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/CAMdxoPGZch8X0b8-WEv7eviZ%3DxV_V1Ti79%2BnUfCZ1TPQVC6Uhw%40mail.gmail.com.

Reply via email to