Hi,

I suggest you to create variable input as follow.

x = input()

So it will wait for input and you can print error before input variable.

Thanks

Pada tanggal Kam, 30 Jan 2020 pukul 17.09 Leigh Yarrat <
[email protected]> menulis:

> Hi,
> I have the same problem with my exe file closing the window immediately.
> However, PyInstaller is giving me an error message during the compile
> process and then proceeds to tell me that the compile was successful - so
> this is not reliable.
> I haven't solved my problem yet. But you should find your error message.
>
> On Sunday, 25 August 2019 05:25:49 UTC+10, Tamoghna Dey wrote:
>>
>> Hi Experts,
>>
>> I'm new in python and want to make an executable file using a library
>> highlighted below. The library is in python 2 and I'm using python 2.7
>> along with pyinstall version 3.5. the creation of exe file is successful by
>> using command pyinstaller --onefile <myfile.py>. but while running the exe
>> file it fails by closing the window immediately. By the way I'm using
>> windows system. Can someone help me o overcome the issue. Let me know if
>> anything more required. Thanks in advance.
>>
>>
>> C:\Users\ADMIN>pip list
>> Package              Version
>> -------------------- ---------
>> altgraph             0.16.1
>> dis3                 0.1.3
>> enm-client-scripting 1.18.1
>> future               0.17.1
>> pefile               2019.4.18
>> pip                  18.1
>> PyInstaller          3.5
>> pywin32-ctypes       0.2.0
>> requests             2.5.0
>> setuptools           40.6.2
>>
>>
>>
>>
>> --
>> Regards,
>> Tamoghna
>>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pyinstaller/d45ccee3-c975-4d88-a132-25549df9ba67%40googlegroups.com
> <https://groups.google.com/d/msgid/pyinstaller/d45ccee3-c975-4d88-a132-25549df9ba67%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/CAF8BCF1YKRZ5sZTc0_VYZ89AL25y8%2BcAWZwgCvqL-SED_SomYw%40mail.gmail.com.

Reply via email to