Original Message:
Sent: Thu September 07, 2023 12:10 AM
From: Jun Hu
Subject: How to install cx_Freeze on AIX?
I have installed cx_Freeze and able to use it create excutable file.
I'm able to run it on the same server which I create the excutable file, but when I copy the files to other servers and run it.
it got some error...
exec(): 0509-036 Cannot load program ./CALL_PYTHON because of the following errors: 0509-150 Dependent module libpython3.9.a(libpython3.9.so) could not be loaded. 0509-022 Cannot load module libpython3.9.a(libpython3.9.so). 0509-026 System error: A file or directory in the path name does not exist
even I included libpython3.9.a(libpython3.9.so) in the build, still has the same error,
could you advice how to resolve this issue? thanks.
------------------------------
Jun Hu
Original Message:
Sent: Mon August 14, 2023 04:28 AM
From: Ayappan P
Subject: How to install cx_Freeze on AIX?
https://cx-freeze.readthedocs.io/en/latest/installation.html
As mentioned by @C- -T I think you can go with Toolbox python3. Get the source tar file of cx_Freeze, extract it and then run "python3 setup.py build". This will build the Console-cpython-39 I guess. Then install it.
You need the below changes in the setup.py
--- setup.py_orig 2023-08-14 03:12:57.722973777 +0000
+++ setup.py 2023-08-14 03:16:06.002972958 +0000
@@ -26,6 +26,7 @@
PLATFORM = get_platform()
IS_MACOS = PLATFORM.startswith("macos")
IS_MINGW = PLATFORM.startswith("mingw")
+IS_AIX = PLATFORM.startswith("aix")
IS_WINDOWS = PLATFORM.startswith("win")
IS_CONDA = Path(sys.prefix, "conda-meta").is_dir()
@@ -105,6 +106,8 @@
if IS_MACOS:
extra_args.append("-Wl,-export_dynamic")
extra_args.append("-Wl,-rpath,@loader_path/lib")
+ if IS_AIX:
+ pass
else:
if get_config_var("LINKFORSHARED"):
extra_args.extend(get_config_var("LINKFORSHARED").split())
------------------------------
Ayappan P
Original Message:
Sent: Mon August 14, 2023 03:55 AM
From: Jun Hu
Subject: How to install cx_Freeze on AIX?
Hi Ayappan,
On AIX7.2, I have python3.9 and xlc installed, I can install cx_freeze from pip, but can not compile files successful. could you help? thanks.
It shows error below. it seems sth. is missing when install it from pip.
install successful.
python3 -m pip install cx_freezeDefaulting to user installation because normal site-packages is not writeableCollecting 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) ... doneRequirement already satisfied: setuptools<69,>=62.6 in /home/test/.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) ... done Created wheel for cx_freeze: filename=cx_Freeze-6.15.5-cp39-cp39-aix_7205_2319_64.whl size=297891 sha256=07dad3ad5d52e5635c09c1c50fa66ba51d74692dfdeb9415e746268c55cfb807 Stored in directory: /home/test/.cache/pip/wheels/a3/d4/f6/733c0676ad242863b2b7d4b2f3476f0a39f90b70a1ef2b5cddSuccessfully built cx_freezeInstalling collected packages: cx_freezeSuccessfully installed cx_freeze-6.15.5
can not build, shows missing Console-cpython-39.
and there is nothing in python3.9/site-packages/cx_Freeze/bases. not sure how to get the Console-cpython-39.
python3 setup.py buildTraceback (most recent call last): File "/home/test/hc/setup.py", line 20, in <module> Executable('HC_OS_SCAN_AIX_PYTHON.py', base=base) File "/home/test/.local/lib/python3.9/site-packages/cx_Freeze/executable.py", line 43, in __init__ self.base = base File "/home/test/.local/lib/python3.9/site-packages/cx_Freeze/executable.py", line 77, in base raise OptionError(f"no base named {name!r} ({name_base!r})")cx_Freeze.exception.OptionError: no base named 'Console' ('Console-cpython-39')
on AIX 7.3 I have python3.9 and openxlc installed, when I try to install cx_freeze, it has error below
python3 -m pip install cx_freezeDefaulting to user installation because normal site-packages is not writeableCollecting 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) ... doneCollecting setuptools<69,>=62.6 Using cached setuptools-68.0.0-py3-none-any.whl (804 kB)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-k3mf0fex/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 ibm-clang_r -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 .orig: error: unknown argument: '-qmaxmem=-1' .orig: error: unknown argument: '-qbitfields=signed' .orig: error: unknown argument: '-qalloca' .orig: error: unknown argument: '-qmaxmem=-1' .orig: error: unknown argument: '-qbitfields=signed' .orig: error: unknown argument: '-qalloca' .orig: error: unknown argument: '-qmaxmem=-1' error: command '/opt/IBM/openxlC/17.1.0/bin/ibm-clang_r' 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_freezeFailed to build cx_freezeERROR: Could not build wheels for cx_freeze, which is required to install pyproject.toml-based projects
------------------------------
Jun Hu
Original Message:
Sent: Mon August 14, 2023 03:22 AM
From: Ayappan P
Subject: How to install cx_Freeze on AIX?
You are using AIX base python3 which ships with AIX 7.3. It is built using xlc compiler, so if you are using gcc as CC , then it will not work. Because the options are not compatible.
------------------------------
Ayappan P
Original Message:
Sent: Tue August 08, 2023 04:56 AM
From: Jun Hu
Subject: How to install cx_Freeze on AIX?
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_FreezeDefaulting to user installation because normal site-packages is not writeableCollecting 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) ... doneRequirement 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_FreezeFailed to build cx_FreezeERROR: Could not build wheels for cx_Freeze, which is required to install pyproject.toml-based projects
------------------------------
Jun Hu
------------------------------