There's a library called pip-installer that lets you package your .py files into .exe files.
Here's a tutorial on how to use it:
Did you follow the steps correctly? Maybe there's something wrong that you did with the export settings, might wanna double check. Otherwise here's the documentation for pyinstaller (hope it helps)
If this still doesn't help, then I think you ought to try something else.