SOLVED: Leo Fails to Start with xcb error After Ubuntu Upgrade

30 views
Skip to first unread message

Thomas Passin

unread,
Jul 25, 2020, 1:48:33 PM7/25/20
to leo-e...@googlegroups.com
I upgraded my Ubuntu installation, and Python 3 was upgraded from 3.7 to 3.8.  After I installed it with pip3 install leo, Leo tried to start but failed.  The error message involved an xcb plugin for Qt5.

It seems that other people had the same problem with other apps.  I found a solution at https://forum.qt.io/topic/93247/qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found/3:

sudo apt-get install libxcb-xinerama0

Somehow, this fixed or reinstalled the xcb plugin.  After this, Leo loaded normally.  BTW, the PyQt5 version is 5.15.0.

Edward K. Ream

unread,
Jul 25, 2020, 4:57:39 PM7/25/20
to leo-editor


On Sat, Jul 25, 2020 at 12:48 PM Thomas Passin <tbp1...@gmail.com> wrote:
I upgraded my Ubuntu installation, and Python 3 was upgraded from 3.7 to 3.8.  After I installed it with pip3 install leo, Leo tried to start but failed.  The error message involved an xcb plugin for PyQt5.

It seems that other people had the same problem with other apps.  I found a solution at https://forum.qt.io/topic/93247/qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found/3:

sudo apt-get install libxcb-xinerama0

Somehow, this fixed or reinstalled the xcb plugin.  After this, Leo loaded normally.  BTW, the PyQt5 version is 5.15.0.

Thanks for the report!

Edward
Reply all
Reply to author
Forward
0 new messages