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