difficulties installing under Ubuntu 22.10

30 views
Skip to first unread message

Lucas Eichhorn

unread,
Dec 8, 2022, 12:27:29 AM12/8/22
to mnemosyne-proj-users
Hello,
new OS, new problem. :(

Depending on what exact configuration of packages/versions I have I get different error messages. The current one is:

Traceback (innermost last):
  File "/home/lucas/forest/miniconda3/envs/mnemo/bin/mnemosyne", line 4, in <module>
    __import__('pkg_resources').run_script('Mnemosyne==2.9', 'mnemosyne')
  File "/home/lucas/.local/lib/python3.10/site-packages/pkg_resources/__init__.py", line 656, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/home/lucas/.local/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1453, in run_script
    exec(code, namespace, namespace)
  File "/home/lucas/forest/miniconda3/envs/mnemo/lib/python3.10/site-packages/Mnemosyne-2.9-py3.10.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/libgssapi_krb5.so.2: undefined symbol: k5_sname_compare, version krb5_3_MIT

packages installed:

pip list|grep Py
PyQt5                5.15.6
PyQt5-Qt5            5.15.2
PyQt5-sip            12.9.1
PyQtWebEngine        5.15.5
PyQtWebEngine-Qt5    5.15.2

Peter Bienstman

unread,
Dec 8, 2022, 3:44:30 AM12/8/22
to mnemosyne-...@googlegroups.com
Hi,

The only thing I can say is that the problem lies with your installation of QtWebEngineWidgets, but I guess you also came to that conclusion :-) However, this is not a Mnemosyne problem, but a Ubuntu one, so I'm afraid you have to get in touch with the Ubuntu developers. Just a single-line Python file containing   'from PyQt5 import QtWebEngineWidgets' will be enough to trigger this issue.

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/e268617d-b8c9-4c8d-bad5-d95fd3bdda44n%40googlegroups.com.

Lucas Eichhorn

unread,
Dec 10, 2022, 12:33:56 AM12/10/22
to mnemosyne-proj-users
Uninstalled the manually installed version (by removing the conda environment). And installed the native Ubuntu 22.10 version which, surprisingly, now seems to be WORKING FINE!
There is just one warning about Google translate not being installed:
usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py:377: UserWarning: google_trans package is not installed. Google translate feature will not be available.
  warnings.warn("google_trans package is not installed. Google translate feature will not be available.")

I just solved that by a) installing the python3-pip package and b) installing the googletrans package (pip install googletrans).

Thanks to the holy Gods of Ubuntu!
Reply all
Reply to author
Forward
0 new messages