Issues w/Mnemosyne 2.4 on Linux

198 views
Skip to first unread message

Jon Proulx

unread,
Dec 22, 2016, 2:41:05 AM12/22/16
to mnemosyne-proj-users

I've been using mnemoscyne off and on for years currently on Ubuntu 16.04 Xenial which ships 2.2

Tried to update so I could sync with newer android version and I get:

Traceback (innermost last):
  File "/usr/local/bin/mnemosyne", line 4, in <module>
    __import__('pkg_resources').run_script('Mnemosyne==2.4', 'mnemosyne')
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 744, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1506, in run_script
    exec(script_code, namespace, namespace)
  File "/usr/local/lib/python3.5/dist-packages/Mnemosyne-2.4-py3.5.egg/EGG-INFO/scripts/mnemosyne", line 132, in <module>
 ImportError: cannot import name 'QtWebEngineWidgets'
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.4', 'mnemosyne')
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 744, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1506, in run_script
    exec(script_code, namespace, namespace)
  File "/usr/local/lib/python3.5/dist-packages/Mnemosyne-2.4-py3.5.egg/EGG-INFO/scripts/mnemosyne", line 132, in <module>
 ImportError: cannot import name 'QtWebEngineWidgets'

Looking for QtWebEngine on the the interwebs I find it is basically impossible for Linux Distros to package https://marc.info/?l=kde-core-devel&m=142954900813235&w=2 

Is there a way around this without manually building QT, which even as a highly experience professional Linux administrator I find a bit daunting?

Perhaps a PPA I haven't found for teh Qt build with webengine or source for the 2.2 Android .apk 

-Jon

Peter Bienstman

unread,
Dec 22, 2016, 2:43:50 AM12/22/16
to mnemosyne-...@googlegroups.com

Hi,

 

Do ‘sudo pip3 install PyQt5’ to install the missing dependencies.

 

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 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/4b69cf85-f59b-4fda-b053-15551276d5d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Marcin M.

unread,
May 20, 2017, 6:35:29 AM5/20/17
to mnemosyne-proj-users
It seems I can't do it. I'm running Ubuntu 16.10 armhf, and

android@localhost:~/Mnemosyne-2.4.1$ sudo -H pip3 install PyQt5
Collecting PyQt5
  Could not find a version that satisfies the requirement PyQt5 (from versions: )
No matching distribution found for PyQt5
You are using pip version 8.1.2, however version 9.0.1 is available.

Peter Bienstman

unread,
May 20, 2017, 11:09:36 AM5/20/17
to mnemosyne-...@googlegroups.com
This is more an Ubuntu issue than a Mnemosyne one, but have you tried upgrading pip, as it mentions it's out of date?

I aldo seem to recall there are Debian packages for 2.4, these perhaps also work on Ubuntu?

Peter



From: "Marcin M." <marmis...@gmail.com>
Sent: 20 May 2017 12:35
To: mnemosyne-proj-users
Subject: [mnemosyne-proj-users] Re: Issues w/Mnemosyne 2.4 on Linux

--
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.

flop1...@gmail.com

unread,
Nov 4, 2017, 7:56:50 AM11/4/17
to mnemosyne-proj-users
Hello,

I have a similar problem.

pip3 install PyQt5
Requirement already satisfied (use --upgrade to upgrade): PyQt5 in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied (use --upgrade to upgrade): sip<4.20,>=4.19 in /usr/local/lib/python3.5/dist-packages (from PyQt5)
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


I ran the command pip install --upgrade pip yet, but it's still the same problem.

Peter Bienstman

unread,
Nov 4, 2017, 7:57:50 AM11/4/17
to mnemosyne-...@googlegroups.com
Hi,

Make sure to use 2.5, not 2.4

Cheers,

Peter



From: flop1...@gmail.com
Sent: 4 Nov 2017 12:56
To: mnemosyne-proj-users
Subject: Re: [mnemosyne-proj-users] Re: Issues w/Mnemosyne 2.4 on Linux

--
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.
Message has been deleted

Peter Bienstman

unread,
Nov 5, 2017, 1:07:25 AM11/5/17
to mnemosyne-...@googlegroups.com
Hi,

You can always download the latest version from our website, if your distribution does not yet package it.

Cheers,

Peter



From: Florian Prinz <flop1...@gmail.com>
Sent: 4 Nov 2017 13:16
To: mnemosyne-...@googlegroups.com

Subject: Re: [mnemosyne-proj-users] Re: Issues w/Mnemosyne 2.4 on Linux

How can i Do this? 



Am 04.11.2017 12:57 schrieb "Peter Bienstman" <Peter.B...@ugent.be>:
Hi,

Make sure to use 2.5, not 2.4

Cheers,

Peter



From: flop1...@gmail.com
Sent: 4 Nov 2017 12:56
To: mnemosyne-proj-users
Subject: Re: [mnemosyne-proj-users] Re: Issues w/Mnemosyne 2.4 on Linux

Hello,

I have a similar problem.

pip3 install PyQt5
Requirement already satisfied (use --upgrade to upgrade): PyQt5 in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied (use --upgrade to upgrade): sip<4.20,>=4.19 in /usr/local/lib/python3.5/dist-packages (from PyQt5)
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


I ran the command pip install --upgrade pip yet, but it's still the same problem.

--
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-users+unsub...@googlegroups.com.
To post to this group, send email to mnemosyne-proj-users@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mnemosyne-proj-users/RCO02C4oezM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mnemosyne-proj-users+unsub...@googlegroups.com.
To post to this group, send email to mnemosyne-proj-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/ddebc55b-2b4e-4161-8d6b-b03ca284a345%40owa.ugent.be.

For more options, visit https://groups.google.com/d/optout.

--
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.

Florian Prinz

unread,
Nov 5, 2017, 1:28:13 AM11/5/17
to mnemosyne-...@googlegroups.com
I thought first, you meant the latest python version, not mnemosyne. I downloaded mnemosyne from the website and not over aptitude and now it works, thank you! 

Am 05.11.2017 07:07 schrieb "Peter Bienstman" <Peter.B...@ugent.be>:
Hi,

You can always download the latest version from our website, if your distribution does not yet package it.

Cheers,

Peter
From: Florian Prinz <flop1...@gmail.com>
Sent: 4 Nov 2017 13:16

Subject: Re: [mnemosyne-proj-users] Re: Issues w/Mnemosyne 2.4 on Linux
How can i Do this? 


Am 04.11.2017 12:57 schrieb "Peter Bienstman" <Peter.B...@ugent.be>:
Hi,

Make sure to use 2.5, not 2.4

Cheers,

Peter



From: flop1...@gmail.com
Sent: 4 Nov 2017 12:56
To: mnemosyne-proj-users
Subject: Re: [mnemosyne-proj-users] Re: Issues w/Mnemosyne 2.4 on Linux

Hello,

I have a similar problem.

pip3 install PyQt5
Requirement already satisfied (use --upgrade to upgrade): PyQt5 in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied (use --upgrade to upgrade): sip<4.20,>=4.19 in /usr/local/lib/python3.5/dist-packages (from PyQt5)
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


I ran the command pip install --upgrade pip yet, but it's still the same problem.

--
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-users+unsubscrib...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mnemosyne-proj-users/RCO02C4oezM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mnemosyne-proj-users+unsubscrib...@googlegroups.com.

--
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-users+unsub...@googlegroups.com.
To post to this group, send email to mnemosyne-proj-users@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mnemosyne-proj-users/RCO02C4oezM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mnemosyne-proj-users+unsub...@googlegroups.com.
To post to this group, send email to mnemosyne-proj-users@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages