Most probably it is the PyQt5 version that is newer than Leo expects. Try executing the following line in the terminal. python -c "from PyQt5 import Qt;print(Qt.qVersion())"
And report here what is the output you get. I remember having to install an older version of PyQt5 in order to make Leo work. Vitalije On Monday, August 5, 2019 at 11:59:47 AM UTC+2, Geoff Evans wrote: > > I'm using Leo happily on different computers and operating systems, but > when I try to install on a new Linux computer I run into trouble. > I started by installing Anaconda (version current as of the week before > last) as Edward suggests, and then followed instructions on the > leoeditor.com web site. I first tried "pip install leo", and then > downloaded the source code and tried to run "python pathname/launchLeo.py" > and got the same error messages both times: > > cannot import name 'QtWebKit' from 'PyQt5' > > additional error: > ... > > from PyQt5 import QtWebEngineCore as QtWebKit > PyCapsule_GetPointer called with an incorrect name > > Can anyone help? (1) What did I do wrong? (2) How can I fix it? (3) How > should I have been able to use the documentation to find out for myself? > > Thanks, geoff evans > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/f4db8af0-b92a-4708-9256-b0f41ecf1645%40googlegroups.com.
