当我只安装了PySide6时,GUI程序可以正常工作。但是一旦我安装了matplotlib及其依赖包(包括pyqt5),那么GUI程序就无法工作,并输出以下错误信息。
问题即使卸载了matplotlib,也不会解决,而且matplotlib在我的程序中甚至没有被导入。
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
问题即使卸载了matplotlib,也不会解决,而且matplotlib在我的程序中甚至没有被导入。
- Python版本:3.9.4
- PySide6版本:6.1
- Matplotlib: 3.4.2
- PyQt: 5.12.3