Problems installing on Ubuntu desktop

53 views
Skip to first unread message

Joel Curtis

unread,
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/__init__.py", line 667, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", 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/libQt5Core.so.5: version `Qt_5.15' not found (required by /home/joel/.local/lib/python3.8/site-packages/PyQt5/QtCore.abi3.so)

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

Peter Bienstman

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

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...

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/7ecc99df-2d55-4aad-83f2-73e590b5e47fn%40googlegroups.com.

Dorian Minors

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

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:

https://mnemosyne-proj.org/download-mnemosyne.php

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,

Dorian
Reply all
Reply to author
Forward
0 new messages