← Back to issue list

PyQt5 does not work from pip

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1859008
Type
issue
State
open
Author
~jakobdev
Labels
—
Created
Updated
Closed
—

Current evaluation

Untriaged report that pip-installed PyQt5 fails in a snap ("Could not load the Qt platform plugin xcb"); reporter wants pip PyQt5 supported instead of the stage package. No recipe, versions, or maintainer response.

Suggested action: needs triage

Reason: The issue has no labels, no assignee, and zero comments in ~6.8 years, and the body contains only the Qt error text plus a feature wish ("It would be nice if I can use the pip package") — no snapcraft.yaml, snapcraft/core version, ldd output, or plugin diagnostics, so the root cause (missing xcb/libxkbcommon-x11 stage packages vs. Qt library version conflict, cf. snapcraft#1764100) is undetermined. Snapcraft has no PyQt5-specific handling in its source (no matches for PyQt5 or the plugin error string; only QT_PLUGIN_PATH in the kde-neon desktop extensions), so whether this is a tool gap or a user packaging/usage matter is undecided, making it a maintainer-triage item rather than an actionable bug. Age alone is not a reason to close it.

Evaluated by: mr-cal-bot

Impact: 30 Quick Win: 3 Complexity: 65 Confidence: 57 Actionability: 25

Issue body

I had some programs that use PyQt5. If create a Snap of it and try to start it, it will not work and pritn this error message: 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. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl. Abgebrochen (Speicherabzug geschrieben) The solution is, to use the PyQt5 stage package. It would be nice, if I can use the pip package, because it's more up to date.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 30
Quick Win: 3
Complexity: 65
Confidence: 57
Actionability: 25
needs triage Untriaged report that pip-installed PyQt5 fails in a snap ("Could not load the Qt platform plugin xcb"); reporter wants pip PyQt5 supported instead of the stage package. No recipe, versions, or maintainer response.
stealth/space-bunny-alpha
Impact: 45
Quick Win: 6
Complexity: 65
Confidence: 84
Actionability: 40
needs triage Untriaged report that pip-installed PyQt5 fails in a snap because the xcb platform plugin cannot initialize; no recipe, versions, diagnostics, or maintainer response.
stealth/space-bunny-alpha
Impact: 55
Quick Win: 4
Complexity: 85
Confidence: 84
Actionability: 45
needs triage PyQt5 installed via pip fails to load Qt's xcb platform plugin in a Snap. Using Snapcraft's PyQt5 stage package works as a workaround, but pip support remains untriaged.
qwen/qwen3.8-27b
Impact: 30
Quick Win: 14
Staleness: 95
Complexity: 55
Confidence: 55
Support Request: 35
needs triage PyQt5 from pip fails in snaps with xcb plugin load error; reporter notes the PyQt5 stage package works. No maintainer response, no labels, 0 comments, 2426 days old.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 45
Confidence: 90
Support Request: 85
close stale PyQt5 installed via pip fails to run in Snap environments due to Qt platform plugin initialization errors. Unlabelled, no maintainer response, inactive for over six years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 45
Confidence: 85
Support Request: 75
close stale PyQt5 installed via pip fails to run in Snap packages due to missing Qt platform plugin xcb. No maintainer response or labels after over six years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 30
Confidence: 85
Support Request: 20
close stale PyQt5 installed via pip fails to load the xcb platform plugin in Snap environments. Open for over six years with no maintainer response or labels.

Update history

Date Change
created

Related work

  • Related To: snapcraft (launchpad)#1764100 (confidence 70%)

    Semantic search surfaced an open Launchpad bug 'pyqt5 cannot load xcb plugin' where libQt5XcbQpa.so.5 has an undefined QPlatformTheme::fileIconPixmap symbol — the same user-facing failure mode, and it is also untriaged (no labels, no maintainer comments)

Related issues

Issue Project State Summary Similarity
#1764100 pyqt5 cannot load xcb plugin snapcraft (launchpad) open PyQt5 snap aborts because libQt5XcbQpa.so.5 has an undefined QPlatformTheme::fileIconPixmap symbol; the report has no labels or maintainer comments.
72%