Tom,
Thanks for your mail! Would you be able to open an issue on the PyInstaller 
GitHub repository? We'd be able to help you more there.
Jasper Harrison, aka Legorooj
Core Developer on PyInstallerhttps://legorooj.net


------- Original Message -------
On Wednesday, June 8th, 2022 at 15:00, Tom Johnson <brraymo...@gmail.com> wrote:


> One thing I have found is to make sure that the env variable SYSTEMROOT is 
> appropriately set but - how do I do this? What do I set it to?
> 

> On Wednesday, June 8, 2022 at 9:28:52 AM UTC-4 Tom Johnson wrote:
> 

> > Hi there,
> > my python program is compiling fine and running fine when executed through 
> > a command line or batch file or even a test program. However, when trying 
> > to integrate it into a larger application it simply won't start. I 
> > downloaded DebugView to see what was happening because it was obvious the 
> > exe was opening but not running.
> > What I found was that as the internal python interpreter was unpacked and 
> > started, it ran into a fatal Python error: failed to get random numbers to 
> > initialize Python.
> > Has anyone run into this before? I think it is happening because we are 
> > running this app through a custom executable framework that changes some of 
> > the env variables. Realistically I am wondering if I can write a hook to 
> > set this env variable back to what it should be before the python 
> > interpreter starts.
> > Thanks for any help!
> 

> --
> 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/66e60aa5-72ec-4178-b199-75d89b9bfce1n%40googlegroups.com.

-- 
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/zywRSgwp5bt6rIDRu1NM-573e5wHzha45gSqeiBVASkrhsHocSqcx7TLS_pkSK6XyiCOXze14Ux4mPOKcBWNGCPNXYH_H_12lzq2iMqw470%3D%40protonmail.com.

Attachment: publickey - legorooj@protonmail.com - 0x164CF234.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to