Hi,

It’s indeed very likely that you’ve installed these dependencies for Python2. 
Your distro will probably have two variants for these packages, one for Python2 
and one for Python3, so double check which one you’ve installed.

Alternatively, you can also use Python’s own installation mechanism, e.g. ‘sudo 
pip3 install PyQt5’

Cheers,

Peter

From: [email protected] 
<[email protected]> On Behalf Of Matthew Brin
Sent: 18 December 2018 20:42
To: mnemosyne-proj-users <[email protected]>
Subject: [mnemosyne-proj-users] lost on 3.6.1

I tried to upgrade to 3.6.1 and followed the README as far as all the 
dependencies.  I am confused about Python versions, but I did that first.  All 
other dependencies seemed to install without much protest, but perhaps under my 
older python?  I could not get python3 to import well.

# python3 --version
Python 3.7.2rc1

is what I have.



Now revving up mnemosyne gets the following:

Warning: Could not import OpenGL. Might cause a black screen on some Linux 
distributions. Try installing python3-opengl in that case.
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.6.1', 'mnemosyne')
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 
664, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 
1444, in run_script
    exec(code, namespace, namespace)
  File 
"/usr/local/lib/python3.7/site-packages/Mnemosyne-2.6.1-py3.7.egg/EGG-INFO/scripts/mnemosyne",
 line 145, in <module>
    from PyQt5 import QtWebEngineWidgets  # Needs to happen first for some 
reason.
 ModuleNotFoundError: No module named 'PyQt5'

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.6.1', 'mnemosyne')
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 
664, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 
1444, in run_script
    exec(code, namespace, namespace)
  File 
"/usr/local/lib/python3.7/site-packages/Mnemosyne-2.6.1-py3.7.egg/EGG-INFO/scripts/mnemosyne",
 line 145, in <module>
    from PyQt5 import QtWebEngineWidgets  # Needs to happen first for some 
reason.
 ModuleNotFoundError: No module named 'PyQt5'
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.6.1', 'mnemosyne')
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 
664, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 
1444, in run_script
    exec(code, namespace, namespace)
  File 
"/usr/local/lib/python3.7/site-packages/Mnemosyne-2.6.1-py3.7.egg/EGG-INFO/scripts/mnemosyne",
 line 145, in <module>
    from PyQt5 import QtWebEngineWidgets  # Needs to happen first for some 
reason.
 ModuleNotFoundError: No module named 'PyQt5'


I am quite lost.
--
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]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/c012f420-6ccc-41e1-8a4a-bac4ce93e4cc%40googlegroups.com<https://groups.google.com/d/msgid/mnemosyne-proj-users/c012f420-6ccc-41e1-8a4a-bac4ce93e4cc%40googlegroups.com?utm_medium=email&utm_source=footer>.
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/886ac4aee2d74c31bec941a85e35a7c2%40xmail101.UGent.be.
For more options, visit https://groups.google.com/d/optout.

Reply via email to