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
On Thursday, 30 December 2021 at 8:49:28 am UTC Peter Bienstman wrote:

> 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
>
> On Thu, Dec 30, 2021 at 9:46 AM Joel Curtis <[email protected]> wrote:
>
>> 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?
>>
>> -- 
>> 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/7ecc99df-2d55-4aad-83f2-73e590b5e47fn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/7ecc99df-2d55-4aad-83f2-73e590b5e47fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/a18649d9-972b-46b4-8d85-77f2846b481fn%40googlegroups.com.

Reply via email to