AIX Open Source

 View Only

 DNF update python3 error

Shanmuga Sundaram G J's profile image
Shanmuga Sundaram G J posted Wed July 23, 2025 12:51 AM

We are getting error after executed dnf_bundle_aix_71_72.tar in AIX 7.1 server. Need your help.

# dnf update
Fatal Python error: _Py_HashRandomization_Init: failed to get random numbers to initialize Python
Python runtime state: preinitialized

# /opt/freeware/bin/python3
Fatal Python error: _Py_HashRandomization_Init: failed to get random numbers to initialize Python
Python runtime state: preinitialized

Ayappan P's profile image
Ayappan P

What is the AIX level ? (oslevel -s)

Shanmuga Sundaram G J's profile image
Shanmuga Sundaram G J

oslevel -s   --> 7100-03-07-1614

Please someone has help on this

Ayappan P's profile image
Ayappan P

This is related to this issue --> https://www.ibm.com/support/pages/apar/IV90804
You can update the AIX level and check again., 

Shanmuga Sundaram G J's profile image
Shanmuga Sundaram G J

We are facing the same error after rebuild the pythin3.7 version now 

 /usr/bin/python3
Fatal Python error: _Py_HashRandomization_Init: failed to get random numbers to initialize Python

Shanmuga Sundaram G J's profile image
Shanmuga Sundaram G J

Hi All, 

It means we have to apply the TL4 patch?