Leo is failing to start after a fresh installation of Linux and Anaconda. 
Do I simply need to install QtWebKit, or is this something else?

Starting with this:

Pop!_OS (Ubuntu) 19.04
Anaconda 3
Python 3.7

I then did a "pip install leo", which appeared to be successful.

Running Leo gives this traceback:


(base) phil@muon:~$ leo
Traceback (most recent call last):
  File 
"/home/phil/tools/anaconda3/lib/python3.7/site-packages/leo/core/leoQt.py", 
line 127, in <module>
    from PyQt5 import QtWebKit
ImportError: cannot import name 'QtWebKit' from 'PyQt5' 
(/home/phil/tools/anaconda3/lib/python3.7/site-packages/PyQt5/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/phil/tools/anaconda3/bin/leo", line 6, in <module>
    from leo.core.runLeo import run
  File 
"/home/phil/tools/anaconda3/lib/python3.7/site-packages/leo/core/runLeo.py", 
line 27, in <module>
    leoGlobals.app = leoApp.LeoApp()
  File 
"/home/phil/tools/anaconda3/lib/python3.7/site-packages/leo/core/leoApp.py", 
line 334, in __init__
    import leo.core.leoFrame as leoFrame
  File 
"/home/phil/tools/anaconda3/lib/python3.7/site-packages/leo/core/leoFrame.py", 
line 13, in <module>
    import leo.core.leoColorizer as leoColorizer
  File 
"/home/phil/tools/anaconda3/lib/python3.7/site-packages/leo/core/leoColorizer.py",
 
line 18, in <module>
    from leo.core.leoQt import Qsci, QtGui, QtWidgets
  File 
"/home/phil/tools/anaconda3/lib/python3.7/site-packages/leo/core/leoQt.py", 
line 131, in <module>
    from PyQt5 import QtWebEngineCore as QtWebKit
ValueError: PyCapsule_GetPointer called with incorrect name

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/45d08796-b52c-49cc-a2bc-09eb7f88a9ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to