root@D100SIUCSM02 /root# /opt/freeware/bin/python3_64
Python 3.7.15 (default, Dec 15 2022, 03:08:16)
[GCC 8.3.0] on aix7
Type "help", "copyright", "credits" or "license" for more information.
>>> import dnf
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/freeware/lib/python3.7/site-packages/dnf/__init__.py", line 32, in <module>
import dnf.base
File "/opt/freeware/lib/python3.7/site-packages/dnf/base.py", line 29, in <module>
import libdnf.transaction
File "/opt/freeware/lib/python3.7/site-packages/libdnf/__init__.py", line 3, in <module>
from . import common_types
File "/opt/freeware/lib/python3.7/site-packages/libdnf/common_types.py", line 13, in <module>
from . import _common_types
ImportError: 0509-022 Cannot load module /opt/freeware/lib/python3.7/site-packages/libdnf/_common_types.so.
0509-026 System error: Cannot run a file that does not have a valid format.
32bit works
root@D100SIUCSM02 /root# /opt/freeware/bin/python3_32
Python 3.7.15 (default, Dec 15 2022, 03:25:12)
[GCC 8.3.0] on aix7
Type "help", "copyright", "credits" or "license" for more information.
>>> import dnf
>>>
Any idea how to get this running with python_64?