Progress. The distribution provides PyQt 5.5.1, which is incompatible with Leo for some reason. I buillt PyQt5-5.7, which instantly segfaults Leo.
So the sweet spot is PyQt 5.6.0. Now I just need to figure out how to install it. On Tuesday, November 22, 2016 at 5:35:59 AM UTC-8, Chris George wrote: > > I recently switched Linux distributions and now Leo won't run. This is > definitely an environment problem, not a Leo problem, but I am stumped. > > Python 3.5.2 installed, PyQt 5.6.0 installed, pyenchant, docutils, sphinx > etc. installed and this is what I get: > > > leoQt.py: can not fully import PyQt5. >> Traceback (most recent call last): >> File "./launchLeo.py", line 7, in <module> >> import leo.core.runLeo >> File "/home/chris/leo-editor/leo/core/runLeo.py", line 19, in <module> >> leoGlobals.app = leoApp.LeoApp() >> File "/home/chris/leo-editor/leo/core/leoApp.py", line 294, in __init__ >> import leo.core.leoFrame as leoFrame >> File "/home/chris/leo-editor/leo/core/leoFrame.py", line 13, in <module> >> import leo.core.leoColorizer as leoColorizer >> File "/home/chris/leo-editor/leo/core/leoColorizer.py", line 12, in >> <module> >> from leo.core.leoQt import isQt5, Qsci, QtCore, QtGui, QtWidgets >> File "/home/chris/leo-editor/leo/core/leoQt.py", line 74, in <module> >> qt_version = QtCore.QT_VERSION_STR >> NameError: name 'QtCore' is not defined >> >> > If anyone has a hint, it would be much appreciated. > > -- You received this message because you are subscribed to the Google Groups "leo-editor" 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]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
