Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find or load the Qt platform plugin "xcb" #57

Open
hroncok opened this issue Nov 16, 2016 · 5 comments
Open

Could not find or load the Qt platform plugin "xcb" #57

hroncok opened this issue Nov 16, 2016 · 5 comments

Comments

@hroncok
Copy link
Member

hroncok commented Nov 16, 2016

Když nainstaluju PyQt5 do virtuenvu pomocí wheelu, ale na systému už nějaké (jiné) Qt mám, dostávám:

This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Reinstalling the application may fix this problem.
Neúspěšně ukončen (SIGABRT) (core dumped [obraz paměti uložen])

Vyřešit to jde pomocí:

QT_QPA_PLATFORM_PLUGIN_PATH=__venv__/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/ python ...

Je dobré to dát do materiálů o Qt, když se to bude dít i studentům.

@hroncok
Copy link
Member Author

hroncok commented Sep 13, 2017

Nikomu se to nedělo.

@hroncok hroncok closed this as completed Sep 13, 2017
@hroncok
Copy link
Member Author

hroncok commented Nov 28, 2017

A zase se to děje mně :(

@hroncok hroncok reopened this Nov 28, 2017
@frenzymadness
Copy link

Zrovna řeším to samé na Windows - nemůže to najít platform plugin "windows".

@frenzymadness
Copy link

Taky mi pomohlo nastavit tuto proměnnou na správnou cestu k adresáři s pluginy.

@hroncok
Copy link
Member Author

hroncok commented Oct 17, 2018

Když používám stejnou verzi Pythonu, která je v RPM balíčku python3, tak mám tuhle chybu.

Tzn. dokud jsem na Fedoře 28 používal 3.7, byl jsem v pohodě, ale po updatu na Fedoru 29 už se to zase děje.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants