Hi,

You need to install gtts: sudo pip3 install gtts

Cheers,

Peter

On Mon, May 25, 2020 at 8:47 AM <[email protected]> wrote:
>
> I recently installed a fresh Ubuntu 20.04 OS and installed Mnemosyne from 
> Synaptic.
> I get the following message when I try to run Mnemosyne:
>
> -------------
>
> Warning: Could not import OpenGL. Might cause a black screen on some Linux 
> distributions. Try installing python3-opengl in that case.
> Log body:
>  An unexpected error has occurred.
> Please forward the following info to the developers:
>
> Traceback (innermost last):
>   File "./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 783, 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'
>
> ------------
>
> and then there are several more messages regarding gtts missing.
>
> I have Python 3.8.2 installed.
>
> Regards,
> MDP
>
> --
> 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/737312d2-1b74-4098-9f4b-abfa534d7f94%40googlegroups.com.

-- 
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/CAMdxoPFVJRwd54XnRW8_vioVLJ6p15ijC4eymj_Xn9QOeye5Mw%40mail.gmail.com.

Reply via email to