运行pyqt5程序出错

QObject::moveToThread: Current thread (0x20d43bbd7c0) is not the object's thread (0x20d43bbd5e0).
Cannot move to target thread (0x20d43bbd7c0)

qt.qpa.plugin: Could not load the Qt platform plugin "windows" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimal, offscreen, webgl, windows.

解决方法:

在python3.6的环境下安装5.8.2的pyqt5不会出现上述问题

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐