Reputation: 214
I just packaged an app using PyInstaller, onedir mode. Then I encounter a weird problem. When I did it the first time, the exe file has no problem to open. Then I packaged a new version, I was never able to open the exe file again. The error is shown below. I searched quite a while online, but no solution found yet.
I'm using -
Windows 10
Python 3.8.2
Pyinstaller 3.6
Upvotes: 0
Views: 998
Reputation: 2675
Try to use the autopytoexe
. And within it select to export to one file. It solved that issue for me.
Upvotes: 1