Python Forum
Executable file compiled by PyInstaller does not work on Windows 7
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Executable file compiled by PyInstaller does not work on Windows 7
#1
How to build Executable (.exe) file from Python for all Versions of Windows (Seven,8,10,11)
i used PyInstaller in windows 10 ,but the Executable file compiled by PyInstaller does not work on Windows 7
Reply
#2
Use an older Python version. I think since Python 3.9 the Windows 7 support has been removed, but I cannot find the source.

Another possible solution could be to use this project to get a working Python 3.9+ installation. If your Code also runs on an older version, then just use an older Python version.

Windows 7 is EOL and should not be used, if this computer has an internet connection. I know the problems with ancient software. I was enforced to install in a VM Windows XP to get an ancient version of Eagle running.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Errors during run .exe file generated with Pyinstaller BushyAxis793 4 858 Mar-25-2025, 05:57 PM
Last Post: BushyAxis793
  I'm trying to install python 3.11.11 on windows 10 - it doesn't work Petonique 2 1,423 Feb-04-2025, 05:42 PM
Last Post: snippsat
  Can a windows file be 'remapped' in Linux ? jehoshua 3 805 Dec-07-2024, 03:33 AM
Last Post: jehoshua
  How to re-register .py file extension to new moved Python dir (on Windows)? pstein 5 1,204 Nov-06-2024, 03:06 PM
Last Post: DeaD_EyE
  Using pyinstaller with .ui GUI files - No such file or directory error diver999 3 7,532 Jun-27-2023, 01:17 PM
Last Post: diver999
  How to compile a Python script for a Windows / Linux executable? netanelst 2 2,071 May-24-2022, 07:02 AM
Last Post: netanelst
  Pyinstaller distribution file seems too large hammer 4 4,733 Mar-31-2022, 02:33 PM
Last Post: snippsat
  batch file for running python scipt in Windows shell MaartenRo 2 2,921 Jan-21-2022, 02:36 PM
Last Post: MaartenRo
  What to do when the requirements.txt file does not work Led_Zeppelin 2 16,326 Nov-04-2021, 06:51 PM
Last Post: snippsat
  problem with pyinstaller to create an executable file atlass218 0 3,164 May-15-2021, 11:01 AM
Last Post: atlass218

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020