Pyinstaller is showing 'Failed to execute script 'app' due to unhandled exception: expected...'

Viewed 32

I recently was working on a game and completed it. I tried to compile app.py to app.exe using pyinstaller.

After showing compiled successfully and dropping dependencies to the dist folder,

When I run it I am getting an error: Failed to execute script 'app' due to unhandled exception: expected str, bytes or os.PathLike object not Bytes!

enter image description here

0 Answers
Related