Build fails in Windows 10 with error "_Py_HashRandomization_Init: failed to get random numbers to initialize Python"

262 views
Skip to first unread message

lujiaxing

unread,
Oct 4, 2021, 12:52:48 PM10/4/21
to Chromium-dev

Build fails in Windows 10 with error "_Py_HashRandomization_Init: failed to get random numbers to initialize Python". Reboot does not resolves.

error.png

Windows 10 Enterprise x64 ver.19042.1237

PATH:
D:\SourceCode\chromium\depot_tools\;A:\Python39\;A:\Python39\Scripts;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;A:\Program Files\dotnet\;A:\Program Files\Microsoft SQL Server\130\Tools\Binn\;A:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;B:\Development\Git\cmd;B:\Development\nodejs\;A:\ProgramData\chocolatey\bin;C:\Shortcuts;B:\TortoiseGit\bin;B:\Windows Kits 10\Windows Performance Toolkit\;

SYSTEMROOT:
A:\Windows

DEPOT_TOOLS_WIN_TOOLCHAIN:
0

I've also tried to set PYTHONHASHSEED=xxx, SYSTEMROOT=A:\Windows before build. But doesn't help.


Can anybody can help me out?
Reply all
Reply to author
Forward
0 new messages