Re: problems with PyQt5-5.15.0 linux wheel
Phil Thompson <[email protected]> Sun, 28 Jun 2020 08:29:02 +0100
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <[email protected]> |
On 28/06/2020 01:45, Steve Borho wrote: > Hello, > > I’ve noticed something unusual about the > PyQt5-5.15.0-5.15.0-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl > wheel that is served by PyPi. > > If you install it on Ubuntu 20.04 (py3.8) or Ubuntu 18.04(py3.6) it > seems to be ok, but if you install it on Ubuntu 16.04 (py3.5) it does > not install the Qt/plugin/ or Qt/translations/ folder like it does for > the other Python versions. > > This leads to runtime errors when you try to use PyQt5: > > qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even > though it was found. > This application failed to start because no Qt platform plugin could > be initialized. Reinstalling the application may fix this problem. > > I checked the PyQt5-5.14.2 wheel on Ubuntu 16.04 (py3.5) and it did > install the plugins and translations, so this looks like a regression. I think Qt v5.15.0 no longer includes its own copy of the xcb libraries so they have to be installed by the OS. Phil