--- ./Lib/_aix_support.py_orig	2022-08-23 08:59:31 +0000
+++ ./Lib/_aix_support.py	2022-08-24 05:04:21 +0000
@@ -36,7 +36,10 @@
     If no builddate is found give a value that will satisfy pep425 related queries
     """
     # All AIX systems to have lslpp installed in this location
-    out = subprocess.check_output(["/usr/bin/lslpp", "-Lqc", "bos.rte"])
+    try:
+        out = subprocess.check_output(["/usr/bin/lslpp", "-Lqc", "bos.rte"], stderr=subprocess.DEVNULL)
+    except AttributeError:
+        out = subprocess.check_output(["/usr/bin/lslpp", "-Lqc", "bos.rte"])
     out = out.decode("utf-8")
     out = out.strip().split(":")  # type: ignore
     _bd = int(out[-1]) if out[-1] != '' else 9988
