Pyinstaller exe keeps throwing expecting integer got float error

Viewed 26

'Failed to execute script Wandering Wilderness due to unhandled exception: expected integer got float' is the error I get. My normal code works properly but when I bundle with my data folder it throws this error.

File Structure :   -- Wandering Wilderness
                       -- data          -- Wandering Wilderness.py (main script)
                         -- images, 
                         -- sound, 
                         -- level maps, 
                         -- etc.
              

I've tried removing all subfolders from data folder. Also, I want a one file .exe I don't want any external dependences. Also, I am using auto -py - to-exe and it still does not work. So basically all I want to do is create a .exe file with my script and my 1 folder of dependiencies.

0 Answers
Related