Mnemosyne doesn't run on new Ubuntu 20.04 installation

38 views
Skip to first unread message

mdp...@gmail.com

unread,
May 25, 2020, 2:48:00 AM5/25/20
to mnemosyne-proj-users
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

Peter Bienstman

unread,
May 25, 2020, 3:22:23 AM5/25/20
to mnemosyne-...@googlegroups.com
Hi,

You need to install gtts: sudo pip3 install gtts

Cheers,

Peter
> --
> 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 mnemosyne-proj-u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/737312d2-1b74-4098-9f4b-abfa534d7f94%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages