Spyder 3.0.1 failed to start, Could not find Qt platform plugin "xcb"
See original GitHub issueDescription of your problem
After a fresh installation of miniconda, and the installation of Spyder, Spyder 3.0.1 fails to start from the console with the error message
This application failed to start because it could not find or load the Qt platform plugin “xcb” in .
Available platform plugins are: xcb (from /home/beberhardt/miniconda3/pkgs/qt-5.6.0-1/plugins/platforms), minimal, offscreen, xcb.
Reinstalling the application may fix this problem. [1] 9578 abort (core dumped) spyder
Please provide any additional information below
Searching for “xcb” I found two closed issues https://github.com/spyder-ide/spyder/search?q=xcb&state=closed&type=Issues&utf8=✓
It was suggested to start Spyder by specifying the path
QT_API=pyqt5 QT_QPA_PLATFORM_PLUGIN_PATH=${CONDA_ENV_PATH}/lib/qt5/plugins/platforms spyder
However, this does not work.
Versions and main components
- Spyder Version: 3.0.1
- Python Version: Python 3.5.2
- Operating system: Linux manjaro 4.4.31-1-MANJARO
- pyqt 5.6.0 py35_0
- qt 5.6.0 1
- qtawesome 0.3.3 py35_0
- qtconsole 4.2.1 py35_1
- qtpy 1.1.2 py35_0
Dependencies
Please go to the menu entry Help > Optional Dependencies
(or
Help > Dependencies
), press the button Copy to clipboard
and paste the contents below:
Inside Spyder? It does not start.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (4 by maintainers)
Top GitHub Comments
I have solved the xcb issue by pip uninstalling PyQt5/QtPy, then reinstalling. There seems to be some conflict between the pip/Arch linux/ conda installed packages that causes this issue (I could also install these packages via the system package manager but using pip seems to work better in this case). Now Spyder 3 is running.
libselinux was installed on my system.
Thanks for the help.
Everything was installed with miniconda/conda, i.e. without anaconda. Then I installed anaconda, however, the same error occurs. Spyder 2.3.9 does work, only the versions 3.x do no at the moment.