Hi,

Alternatively you could also try asking on a Linux Mint forum on how to
install Pyqt if the standard 'pip install PyQt5' does not work.

Cheers,

Peter


On Sun, 31 Jan 2021, 17:05 'ejovo' via mnemosyne-proj-users, <
[email protected]> wrote:

> Hey guys, I recently switched to linux and wanted to get mnemosyne up and
> running on my new machine. However, when I try to run mnemosyne, I'm
> running into an error with PyQt. I've already installed the dependencies
> that are specified in the readme file, and I've tried exporting my
> LD_LIBRARY_PATH where the PyQt module gets installed. Still haven't had any
> luck. I unfortunately don't have a lot of experience with Python so I don't
> know how to hack a solution, but here is the error messages that I get:
>
> 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.7.3', '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.7.3-py3.8.egg/EGG-INFO/scripts/mnemosyne",
> line 150, in <module>
>     from PyQt5 import QtWebEngineWidgets  # Needs to happen first for some
> reason.
>  ImportError: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15'
> not found (required by
> /home/ejovo13/.local/lib/python3.8/site-packages/PyQt5/QtCore.abi3.so)
>
> 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.7.3', '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.7.3-py3.8.egg/EGG-INFO/scripts/mnemosyne",
> line 150, in <module>
>     from PyQt5 import QtWebEngineWidgets  # Needs to happen first for some
> reason.
>  ImportError: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15'
> not found (required by
> /home/ejovo13/.local/lib/python3.8/site-packages/PyQt5/QtCore.abi3.so)
> 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.7.3', '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.7.3-py3.8.egg/EGG-INFO/scripts/mnemosyne",
> line 150, in <module>
>     from PyQt5 import QtWebEngineWidgets  # Needs to happen first for some
> reason.
>  ImportError: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15'
> not found (required by
> /home/ejovo13/.local/lib/python3.8/site-packages/PyQt5/QtCore.abi3.so)
>
> If any Linux power users who are experienced with Python could suggest
> some possible approaches, I'd be more than happy.
>
> Cheers,
> ejovo
>
> --
> 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/0bcf3772-7b7b-4d95-a049-0c7e91bbea13n%40googlegroups.com
> <https://groups.google.com/d/msgid/mnemosyne-proj-users/0bcf3772-7b7b-4d95-a049-0c7e91bbea13n%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/CAMdxoPG8NHBSUe4bzmf%3D8Lqo1Cuw%3DhHZfjLdfonxr0k-AWgFCQ%40mail.gmail.com.

Reply via email to