Is it any way to install cx_freeze on AIX 7.1, 7.2 or 7.3?
when I try to install it by using pip install, there is some error... not sure how to resolve it, please help to give some advice.
I'm using python3.9.12 and pip 23.2.1
I tried both gcc and openxlc, but not albe to install
$ pip3 install cx_Freeze
Defaulting to user installation because normal site-packages is not writeable
Collecting cx_Freeze
Using cached cx_Freeze-6.15.5.tar.gz (1.5 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: setuptools<69,>=62.6 in /home/cecuser/.local/lib/python3.9/site-packages (from cx_Freeze) (68.0.0)
Building wheels for collected packages: cx_Freeze
Building wheel for cx_Freeze (pyproject.toml) ... error
error: subprocess-exited-with-error
Building wheel for cx_Freeze (pyproject.toml) did not run successfully.
exit code: 1
[113 lines of output]
/tmp/pip-build-env-spif1gz8/overlay/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
config = read_configuration(filepath, True, ignore_option_errors, dist)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.aix-7301-2319-64-cpython-39
creating build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
copying cx_Freeze/__init__.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
copying cx_Freeze/__main__.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
copying cx_Freeze/_compat.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
copying cx_Freeze/cli.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
copying cx_Freeze/common.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
copying cx_Freeze/darwintools.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
copying cx_Freeze/exception.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
copying cx_Freeze/executable.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
copying cx_Freeze/finder.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
copying cx_Freeze/freezer.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
copying cx_Freeze/module.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
copying cx_Freeze/parser.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
copying cx_Freeze/setupwriter.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
copying cx_Freeze/winmsvcr.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
copying cx_Freeze/winversioninfo.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
creating build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/bases
copying cx_Freeze/bases/__init__.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/bases
creating build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/command
copying cx_Freeze/command/__init__.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/command
copying cx_Freeze/command/_bdist_msi.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/command
copying cx_Freeze/command/_pydialog.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/command
copying cx_Freeze/command/bdist_mac.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/command
copying cx_Freeze/command/bdist_msi.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/command
copying cx_Freeze/command/bdist_rpm.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/command
copying cx_Freeze/command/build_exe.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/command
copying cx_Freeze/command/install.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/command
copying cx_Freeze/command/install_exe.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/command
creating build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/__init__.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/_libs.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/_qthooks.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/clr.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/crypto.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/cv2.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/exclude.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/glib.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/matplotlib.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/multiprocessing.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/numpy.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/pil.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/pytz.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/scipy.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/skimage.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/sklearn.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/ssl.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/tkinter.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/torch.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
copying cx_Freeze/hooks/xlib.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks
creating build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/initscripts
copying cx_Freeze/initscripts/__init__.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/initscripts
copying cx_Freeze/initscripts/__startup__.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/initscripts
copying cx_Freeze/initscripts/console.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/initscripts
copying cx_Freeze/initscripts/consolesetlibpath.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/initscripts
copying cx_Freeze/initscripts/sharedlib.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/initscripts
copying cx_Freeze/initscripts/sharedlibsource.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/initscripts
creating build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyqt5
copying cx_Freeze/hooks/pyqt5/__init__.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyqt5
copying cx_Freeze/hooks/pyqt5/_append_to_init.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyqt5
copying cx_Freeze/hooks/pyqt5/resource.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyqt5
creating build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyqt6
copying cx_Freeze/hooks/pyqt6/__init__.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyqt6
copying cx_Freeze/hooks/pyqt6/debug.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyqt6
creating build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyside2
copying cx_Freeze/hooks/pyside2/__init__.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyside2
copying cx_Freeze/hooks/pyside2/debug.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyside2
copying cx_Freeze/hooks/pyside2/resource.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyside2
creating build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyside6
copying cx_Freeze/hooks/pyside6/__init__.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyside6
copying cx_Freeze/hooks/pyside6/debug.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyside6
copying cx_Freeze/hooks/pyside6/resource.py -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyside6
running egg_info
writing cx_Freeze.egg-info/PKG-INFO
writing dependency_links to cx_Freeze.egg-info/dependency_links.txt
writing entry points to cx_Freeze.egg-info/entry_points.txt
writing requirements to cx_Freeze.egg-info/requires.txt
writing top-level names to cx_Freeze.egg-info/top_level.txt
reading manifest file 'cx_Freeze.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'doc/src/license.rst'
writing manifest file 'cx_Freeze.egg-info/SOURCES.txt'
copying cx_Freeze/util.pyi -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze
copying cx_Freeze/initscripts/frozen_application_license.txt -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/initscripts
copying cx_Freeze/hooks/pyqt5/qt.conf -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyqt5
copying cx_Freeze/hooks/pyqt5/resource.qrc -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyqt5
copying cx_Freeze/hooks/pyqt5/resource.sh -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyqt5
copying cx_Freeze/hooks/pyqt6/qt.conf -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyqt6
copying cx_Freeze/hooks/pyside2/qt.conf -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyside2
copying cx_Freeze/hooks/pyside2/resource.qrc -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyside2
copying cx_Freeze/hooks/pyside2/resource.sh -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyside2
copying cx_Freeze/hooks/pyside6/qt.conf -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyside6
copying cx_Freeze/hooks/pyside6/resource.qrc -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyside6
copying cx_Freeze/hooks/pyside6/resource.sh -> build/lib.aix-7301-2319-64-cpython-39/cx_Freeze/hooks/pyside6
running build_ext
creating build/temp.aix-7301-2319-64-cpython-39
creating build/temp.aix-7301-2319-64-cpython-39/source
creating build/temp.aix-7301-2319-64-cpython-39/source/bases
gcc -maix64 -DNDEBUG -O2 -qmaxmem=-1 -I/usr/opt/python3/include -I/usr/include -D_ALL_SOURCE -D_LINUX_SOURCE_COMPAT -qbitfields=signed -qalloca -O2 -qmaxmem=-1 -I/usr/opt/python3/include -I/usr/include -D_ALL_SOURCE -D_LINUX_SOURCE_COMPAT -qbitfields=signed -qalloca -O2 -qmaxmem=-1 -I/usr/opt/python3/include/python3.9 -c source/bases/console.c -o build/temp.aix-7301-2319-64-cpython-39/source/bases/console.o
gcc: error: unrecognized command-line option '-qmaxmem=-1'
gcc: error: unrecognized command-line option '-qbitfields=signed'
gcc: error: unrecognized command-line option '-qalloca'; did you mean '-Walloca'?
gcc: error: unrecognized command-line option '-qmaxmem=-1'
gcc: error: unrecognized command-line option '-qbitfields=signed'
gcc: error: unrecognized command-line option '-qalloca'; did you mean '-Walloca'?
gcc: error: unrecognized command-line option '-qmaxmem=-1'
error: command '/opt/freeware/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cx_Freeze
Failed to build cx_Freeze
ERROR: Could not build wheels for cx_Freeze, which is required to install pyproject.toml-based projects
------------------------------
Jun Hu
------------------------------