pyinstaller fatal error detected code example
Example: fatal error detected failed to execute script
#You probably have some files that your code needs to run properly.
#Make sure the .exe file is in the same folder as those files it needs to run.
#I had this problem and this video help me out:
#https://www.youtube.com/watch?v=UZX5kH72Yx4&list=LLZS2n0tIPCVtKYM00KjsvKQ&index=3&t=328s
#see min 4:16