Thanks, bwoodsend! I just gave that a shot, and it returned the following.

Error loading Python DLL 
'C:\Users\liam\AppData\Local\Programs\Python\Python37\build\test\python37.dll'.
LoadLibrary: The specified module could not be found.

Looks like it can’t find python37.dll. Right now, that file is in \Python37, 
but I guess it didn’t get copied to the daughter directory?

If I read this correctly, all I have to do is copy the correct files into the 
test\ directory? I feel like there is a more elegant solution, though. For 
larger scripts with more dependencies that would be difficult.

Liam

From: [email protected] <[email protected]> On Behalf Of 
bwoodsend
Sent: Tuesday, October 20, 2020 1:37 PM
To: PyInstaller <[email protected]>
Subject: [PyInstaller] Re: EXE crashes on run, nothing displayed


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 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 
[email protected]<mailto:[email protected]>.
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 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/9880a95e6f55483c90e8303b16d67f09%40astro-physics.com.

Reply via email to