Update:

I tried it at home today on an older computer, to sanity check myself. I ended 
up getting the same error with python.dll. Then I realized it was a python 3.5 
system, and that maybe that would have something to do with it. When I got back 
to work today, I installed python 3.9.0. Then, I used pip install pyinstaller 
in my windows\system32 directory rather than the python directory itself; not 
sure if that would make a difference. I made a test.py to print(‘hello world’) 
and ran pyinstaller. No errors this time, and when I went to \dist and ran the 
exe from command line, it printed hello world with no error! My guess is that 
either there is some incompatibility problem with old versions of 
python/windows10/updated pyinstaller, or making the installation in the 
different directory somehow did something. Ultimately I don’t understand the 
problem or solution.

I ended up running into a number of other issues, like matplotlib needing to be 
v3.2.2, having to delete the dist and build folders, needing to run cmd as 
administrator, matplotlib being unable to use .show() without a gui, numpy 
needing visual studio installed, and a bunch of other things. Thankfully I was 
able to figure them out!

Thanks for the help!


From: pyinstaller@googlegroups.com <pyinstaller@googlegroups.com> On Behalf Of 
Liam Plybon
Sent: Wednesday, October 21, 2020 9:22 AM
To: pyinstaller@googlegroups.com
Subject: RE: [PyInstaller] Re: EXE crashes on run, nothing displayed

I gave that a shot, but no dice. Still does not work.

Liam

From: pyinstaller@googlegroups.com<mailto:pyinstaller@googlegroups.com> 
<pyinstaller@googlegroups.com<mailto:pyinstaller@googlegroups.com>> On Behalf 
Of Subramanian Ramajayam
Sent: Wednesday, October 21, 2020 12:00 AM
To: pyinstaller@googlegroups.com<mailto:pyinstaller@googlegroups.com>
Subject: Re: [PyInstaller] Re: EXE crashes on run, nothing displayed

Hello, I had similar problem. I added this at the end of the python 
script:input("Press Enter to exit")
This solved the problem of exe crashing. Try it. Good luck!
Ramajayam

On Wed, 21 Oct, 2020, 1:32 AM bwoodsend, 
<bwoods...@gmail.com<mailto:bwoods...@gmail.com>> wrote:

Run your program from the terminal (using ./dist/test/test) instead of 
double-clicking it. It’ll still crash but you’ll at least get an error message 
you can work with. (Also I’ve never yet solved an issue using the warnings file 
or for anything out of --log-level DEBUG.)
​
--
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<mailto:pyinstaller+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/e85d5920-f703-488b-ad44-19e4df34fa89n%40googlegroups.com<https://groups.google.com/d/msgid/pyinstaller/e85d5920-f703-488b-ad44-19e4df34fa89n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to a topic in the Google 
Groups "PyInstaller" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/pyinstaller/kzPCbz3douE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
pyinstaller+unsubscr...@googlegroups.com<mailto:pyinstaller+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/CAKa7spPxmJR-vehAp_Wxayza3BVuwoN4Hnt_T6zx2%3D0%2B3Tt0nA%40mail.gmail.com<https://groups.google.com/d/msgid/pyinstaller/CAKa7spPxmJR-vehAp_Wxayza3BVuwoN4Hnt_T6zx2%3D0%2B3Tt0nA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to a topic in the Google 
Groups "PyInstaller" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/pyinstaller/kzPCbz3douE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
pyinstaller+unsubscr...@googlegroups.com<mailto:pyinstaller+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/ac208af32a40417ab2e4fa9ade12e913%40astro-physics.com<https://groups.google.com/d/msgid/pyinstaller/ac208af32a40417ab2e4fa9ade12e913%40astro-physics.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 pyinstaller+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/a89d609a45e540829b40acd12cf930ba%40astro-physics.com.

Reply via email to