How did you compile python to a .exe file?
Pyinstaller is a good solution. You can install it with pip