Pyqt5 Error: Could Not Find Or Load Qt Platform Plugin Xcb
Up until Anaconda3 (which contains Python 3.4) was re-installed on my RedHat 6.5 workstation, I have been able to develop Python apps that use PyQT5. Post re-install of Anaconda I
Solution 1:
This is an error caused by having two different versions of Qt under the same installation/environment.
Check the packages installed and their versions in your environment (if for some reason you're not working in a virtual environment, you can skip the first line):
source activate yourenvname
conda list
If you see pyqt
and qt
both with version 4.X.X
then remove them (assuming you want to work in Qt v5):
conda remove qt
conda remove pyqt
Solution 2:
I had an issue that seems to match what happened here. But in my case the solution was to "sudo rm -rf user/anaconda3" and reinstall it with "bash anaconda....sh", because I had previously installed it using sudo ("sudo bash anaconda....sh")
Post a Comment for "Pyqt5 Error: Could Not Find Or Load Qt Platform Plugin Xcb"