遇到报错
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
先卸载pip安装的pyqt5
pip uninstall pyqt5
然后再用conda安装
conda install qt
conda install qtconsol
还会报错
ImportError: Could not import backend for traitsui. Make sure you
have a suitable UI toolkit like PyQt/PySide or wxPython
installed.
再用conda安装
conda install wxPython