PyQt5 the application failed to start because no Qt platform could be initialized

今天因为换新电脑所以重装了PyQt5与PyQt5-tools,结果死活打不开Qt designer,报了一堆错,比如 the application failed to start because no Qt platform could be initialized, unable to patch \qt5core.dll: could not locate pattern “qt_prfxpath=”,在网上找了一堆解决方案都不好用,后来看了下我装的版本是5.15的,可能是版本的问题,我就重装了PyQt5的5.11.3版与PyQt5-tools的5.11.3.1.4版本,完美解决问题。可能是新版本还不成熟就放出来了吧。。。

你可能感兴趣的:(其他工作)