I have recently developed a python based UI script using tkinter and python 2.7 on Windows 10 OS. To distribute it to the users I converted the script into an single file exe using pyinstaller.
The script is working fine on all Windows 10 systems but creating issue on Windows 7 as:
"Fatal Error: Can not run ... script"
I cannot wrap my head around it.
Any help is appreciated.
Thanx in advance..:)
When you use pyinstaller to compile your script to executable in windows 10 and want to use it in window 7 it won't work.
But you can compile it with pyinstaller in windows 7 and use the executable in windows 7, 8, and 10
Also take note of this, take into consideration 32-bit and 64-bit version of the operating systems when use windows 7 32-bit to compile your executable and want to use it in windows 7 64-bit operating system version it won't work and vice versa.
So when you compile in windows7 32-bit version it will work on only 32-bit version of operating systems and not on 64-bit version of windows operating system and vice versa
Tkinter python script converted to exe using pyinstaller on Windows 10 not working on Windows7