new installation on mnemosyne

38 views
Skip to first unread message

alex.b...@gmail.com

unread,
Jan 22, 2017, 4:32:09 PM1/22/17
to mnemosyne-proj-users
Hello,
I have just tried to install mnemosyne on my new Ubuntu computer using the command:

sudo apt-get install mnemosyne.

When I try to run the programm I get the follwing message:

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

Traceback (innermost last):
File "/usr/bin/mnemosyne", line 155, in <module>
debug_file=options.debug_file)
File "/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/__init__.py", line 164, in initialise
self.register_components()
File "/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/__init__.py", line 215, in register_components
exec("from %s import %s" % (module_name, class_name))
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/mnemosyne/pyqt_ui/review_wdgt.py", line 5, in <module>
from PyQt4 import QtCore, QtGui, QtWebKit
ImportError: cannot import name QtWebKit

Does someone know, what to do?

Alex

abaku...@arcor.de

unread,
Jan 22, 2017, 6:27:18 PM1/22/17
to mnemosyne-proj-users@googlegroups com
Do you have pyqt4 installed?

Try:

sudo apt-get install python-qt4

> --
> 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 post to this group, send email to mnemosyne-...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/263b31be-b8ce-42fc-9acf-a2c420bd718c%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Peter Bienstman

unread,
Jan 23, 2017, 3:58:07 AM1/23/17
to mnemosyne-...@googlegroups.com
Hi,

The latest versions of Ubuntu have phased out support for QtWebKit, on which Mnemosyne 2.3.x depends.

So, best to switch to 2.4.x and install the PyQt5 dependency by 'sudo pip3 install PyQt5'.

There is already a Debian package for Mnemosyne 2.4, but I'm not sure if it's in an official release yet.

Cheers,

Peter
Reply all
Reply to author
Forward
0 new messages