I seem to have a problem that interferes with the fix you suggest.
# pip3 install PyQt5
pip is configured with locations that require TLS/SSL, however the ssl
module in Python is not available.
Collecting PyQt5
Retrying (Retry(total=4, connect=None, read=None, redirect=None,
status=None)) after connection broken by 'SSLError("Can't connect to HTTPS
URL because the SSL module is not available.")': /simple/pyqt5/
Retrying (Retry(total=3, connect=None, read=None, redirect=None,
status=None)) after connection broken by 'SSLError("Can't connect to HTTPS
URL because the SSL module is not available.")': /simple/pyqt5/
Retrying (Retry(total=2, connect=None, read=None, redirect=None,
status=None)) after connection broken by 'SSLError("Can't connect to HTTPS
URL because the SSL module is not available.")': /simple/pyqt5/
Retrying (Retry(total=1, connect=None, read=None, redirect=None,
status=None)) after connection broken by 'SSLError("Can't connect to HTTPS
URL because the SSL module is not available.")': /simple/pyqt5/
Retrying (Retry(total=0, connect=None, read=None, redirect=None,
status=None)) after connection broken by 'SSLError("Can't connect to HTTPS
URL because the SSL module is not available.")': /simple/pyqt5/
Could not fetch URL https://pypi.org/simple/pyqt5/: There was a problem
confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org',
port=443): Max retries exceeded with url: /simple/pyqt5/ (Caused by
SSLError("Can't connect to HTTPS URL because the SSL module is not
available.")) - skipping
Could not find a version that satisfies the requirement PyQt5 (from
versions: )
No matching distribution found for PyQt5
pip is configured with locations that require TLS/SSL, however the ssl
module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem
confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org',
port=443): Max retries exceeded with url: /simple/pip/ (Caused by
SSLError("Can't connect to HTTPS URL because the SSL module is not
available.")) - skipping
On Wednesday, December 19, 2018 at 2:53:37 AM UTC-5, Peter Bienstman wrote:
>
> 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] <javascript:> <
> [email protected] <javascript:>> *On Behalf Of *Matthew Brin
> *Sent:* 18 December 2018 20:42
> *To:* mnemosyne-proj-users <[email protected] <javascript:>>
> *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] <javascript:>.
> To post to this group, send email to [email protected]
> <javascript:>.
> 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/00e4b388-4d7d-45ac-8a50-53476585ea84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.