Failure starting newly installed Leo

36 views
Skip to first unread message

Phil

unread,
Jun 30, 2019, 11:03:43 PM6/30/19
to leo-editor
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

Zoom.Quiet

unread,
Jun 30, 2019, 11:50:41 PM6/30/19
to leo-e...@googlegroups.com
SEE: Installing Leo — Leo 6.0 documentation
https://leoeditor.com/installing.html#installing-everything-with-anaconda-or-miniconda
fixed by: fix[Doc] install Leo in conda miss PyQtWebEngine · Issue
#1202 · leo-editor/leo-editor
https://github.com/leo-editor/leo-editor/issues/1202

Phil <phil....@gmail.com> 于2019年7月1日周一 上午11:03写道:
> --
> 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 leo-editor+...@googlegroups.com.
> To post to this group, send email to leo-e...@googlegroups.com.
> 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.



--
life is pathetic, go Pythonic! 人生苦短, Python当歌!
俺: http://zoomquiet.io
授: http://creativecommons.org/licenses/by-sa/2.5/cn/
怒: 冗余不做,日子甭过!备份不做,十恶不赦!
KM keep growing environment culture which promoting organization learning!

Phil

unread,
Jul 1, 2019, 10:31:28 AM7/1/19
to leo-editor
On Sunday, June 30, 2019 at 10:50:41 PM UTC-5, Zoom.Quiet wrote:
SEE: Installing Leo — Leo 6.0 documentation
https://leoeditor.com/installing.html#installing-everything-with-anaconda-or-miniconda

Thank you thank you! This worked perfectly!
Phil
Reply all
Reply to author
Forward
0 new messages