Problems installing on Ubuntu desktop

Skip to first unread message

Joel Curtis

Dec 30, 2021, 3:46:06 AM12/30/21
to mnemosyne-proj-users
I try to install Mnemosyne on Ubuntu via the software manager. It seems to install correctly, but won't run when I click the icon. When I try to run via command line I get the following:

Log body:
 An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/usr/local/bin/mnemosyne", line 4, in <module>
    __import__('pkg_resources').run_script('Mnemosyne==2.8', 'mnemosyne')
  File "/usr/lib/python3/dist-packages/pkg_resources/", line 667, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3/dist-packages/pkg_resources/", line 1463, in run_script
    exec(code, namespace, namespace)
  File "/usr/local/lib/python3.8/dist-packages/Mnemosyne-2.8-py3.8.egg/EGG-INFO/scripts/mnemosyne", line 150, in <module>
    from PyQt5 import QtWebEngineWidgets  # Needs to happen first for some reason.
 ImportError: /lib/x86_64-linux-gnu/ version `Qt_5.15' not found (required by /home/joel/.local/lib/python3.8/site-packages/PyQt5/

I usually can find my way around this stuff but I'm out of my depth here. Any suggestions?

Peter Bienstman

Dec 30, 2021, 3:49:28 AM12/30/21
to mnemosyne-proj-users

This is not a problem with Mnemosyne itself, but with  the installation of the PyQt library, which Mnemosyne needs. Perhaps you can try to reinstall PyQt? Or use Ubuntu's Mnemosyne package to make sure the dependencies are installed, before you try and install source code from our website? Unless Ubuntu users on this forum have other suggestions, I would ask on a Ubuntu-specific forum...


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
To view this discussion on the web visit

Dorian Minors

Jan 5, 2022, 9:47:48 AM1/5/22
to mnemosyne-proj-users

Indeed, Ubuntu needed a little extra work.

First of all, I'd suggest downloading the tarball, because I also seem to have given up trying to get the version available in the Ubuntu repos working:

Then install the python dependencies as instructed in the readme.

Then install mnemosyne as instructed in the readme.

Then on running, you'll probably get another Qt related error which was fixed when I installed PyQtWebEngine (pip3 install PyQtWebEngine).

Then I had to install argon2, but specifically argon2-cffi (pip3 install argon2-cffi).

That had it working for me on Ubuntu.

Warm regards,

Reply all
Reply to author
0 new messages