Whenever I try to put any .py file into pyinstaller I always get an error TypeError: expected str, bytes or os.PathLike object, not NoneType I havent been able to find any fixes that make sense.
Ive tried reinstalling pyinstaller and different files.
I dont think there is any code problems since this occurs no matter what file I use
Expected: a compiled exe file.
Actual Result: TypeError: expected str, bytes or os.PathLike object, not NoneType error and nothing is compiled