Strange, it seems your qt install does not contain QTextEdit
Googling turned up this:
http://www.mail-archive.com/[email protected]/msg01460.html
Are you sure that you don't have qt2 installed by any chance as well? Do you
have the latest qt3?
If there are mnemosyne packages specifically for your distribution, I would
install these first, as they will take care of all dependencies automatically.
Peter
> Ok i have installed qt3 and py-qt3 and here the new errors :
>
> Traceback (most recent call last):
> File "/usr/local/bin/mnemosyne", line 5, in <module>
> pkg_resources.run_script('Mnemosyne==1.2.2', 'mnemosyne')
> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 489,
> in run_script
> self.require(requires)[0].run_script(script_name, ns)
> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1207,
> in run_script
> execfile(script_filename, namespace, namespace)
> File "/usr/local/lib/python2.7/site-packages/Mnemosyne-1.2.2-
> py2.7.egg/EGG-INFO/scripts/mnemosyne", line 14, in <module>
> from mnemosyne.pyqt_ui.main_dlg import MainDlg,
> install_tooltip_strings, prefix
> File "/usr/local/lib/python2.7/site-packages/Mnemosyne-1.2.2-
> py2.7.egg/mnemosyne/pyqt_ui/main_dlg.py", line 9, in <module>
> from main_frm import *
> File "/usr/local/lib/python2.7/site-packages/Mnemosyne-1.2.2-
> py2.7.egg/mnemosyne/pyqt_ui/main_frm.py", line 1, in <module>
> from qtextedit2 import *
> File "/usr/local/lib/python2.7/site-packages/Mnemosyne-1.2.2-
> py2.7.egg/mnemosyne/pyqt_ui/qtextedit2.py", line 22, in <module>
> class QTextEdit2(QTextEdit):
> NameError: name 'QTextEdit' is not defined
>
> On 16 Set, 09:28, Peter Bienstman <[email protected]> wrote:
> > On Friday, September 16, 2011 04:45:22 AM Eleazar magician wrote:
> > > I don't understand why but i have already installed py-qt4...Please
> > > can you help me?
> >
> > You need py-qt3.
> >
> > Cheers,
> >
> > Peter
--
Peter Bienstman
Ghent University, Dept. of Information Technology
Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium
tel: +32 9 264 34 46, fax: +32 9 264 35 93
WWW: http://photonics.intec.UGent.be
email: [email protected]
--
You received this message because you are subscribed to the Google Groups
"mnemosyne-proj-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/mnemosyne-proj-users?hl=en.