Run the application from cmd so that the terminal stays open and you can see the error message.
On Sunday, July 2, 2023 at 11:25:29 AM UTC+1 Parikshit Saha wrote: > I have written an python code which is working perfectly with > python SNC_OCTwork.py command. > while running pyinstaller --onefile SNC_OCTwork.py command it is telling > to do the following modification & retry. > 1. In your program's .spec file add this line near the top:: > import sys ; sys.setrecursionlimit(sys.getrecursionlimit() * 5) > 2. Build your program by running PyInstaller with the .spec file as > argument:: pyinstaller myprog.spec > > After running pyinstaller SNC_OCTwork.spec with modification it ran > successfully and the SNC_OCTwork.exe file generated in dist folder. > I have copied the exe file outside the dist folder in the root directory. > while double clicking, it is opening an cmd prompt and getting off after > sometime. that cmd prompt has some error but unable to see it also unable > to resolve it > -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/563dfbd1-bd3b-44b6-bf04-7c0a95c9fd36n%40googlegroups.com.