This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients brian.curtin, serhiy.storchaka, tim.golden, vstinner
Date 2014-02-13.10:26:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
On Windows, if Python is started with an empty environment (no environment variable at all), Python fails with:

"Fatal Python error: Failed to initialize Windows random API (CryptoGen)"

It's the Windows error 0x80090006 which is not displayed in the error message :-(

In fact, it's because Python 3 cannot be started without SYSTEMROOT environment variable. Otherwise, CryptAcquireContext() is unable to find some DLL.

IMO the script_helper should be fixed to copy the variable.

Recent example of this issue:
Date User Action Args
2014-02-13 10:26:05vstinnersetrecipients: + vstinner, tim.golden, brian.curtin, serhiy.storchaka
2014-02-13 10:26:05vstinnersetmessageid: <>
2014-02-13 10:26:05vstinnerlinkissue20614 messages
2014-02-13 10:26:04vstinnercreate