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 <[email protected]> 于2019年7月1日周一 上午11:03写道:
>
> 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.



-- 
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!

-- 
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/CAAFijRfpArMZrQHWPO3F9A-E2_QdhkqigXBKa0YF0LS7MCQ%2BqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to