Exception: Cannot find PyQt5 plugin directories when using Pyinstaller despite PyQt5 not even being used

前端 未结 7 1079
谎友^
谎友^ 2020-12-14 08:59

A month ago I solved my applcation freezing issues for Python 2.7 as you can see here. I have since adapted my code to python 3.5 (using Anaconda) and it appears to be worki

7条回答
  •  独厮守ぢ
    2020-12-14 09:56

    None of the answers on this post worked for me, but I found this thread from a few months ago and it worked. Linking it here in case others run into a similar problem and come across this thread before the other one.

    The solution is to add --exclude-module PyQt5 after the pyinstaller statement.

提交回复
热议问题