Hi Aditya,
Thank for update, we tried after installed cmake but again error. please assist to fix it
+ /opt/freeware/bin/python3 /tmp/pip-install-9oihei66/numpy_ab2f00550b0d486eaf61ffb5e35d324c/vendored-meson/meson/meson.py setup /tmp/pip-install-9oihei66/numpy_ab2f00550b0d486eaf61ffb5e35d324c /tmp/pip-install-9oihei66/numpy_ab2f00550b0d486eaf61ffb5e35d324c/.mesonpy-zyu8pknd -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pip-install-9oihei66/numpy_ab2f00550b0d486eaf61ffb5e35d324c/.mesonpy-zyu8pknd/meson-python-native-file.ini
The Meson build system
Version: 1.4.99
Source dir: /tmp/pip-install-9oihei66/numpy_ab2f00550b0d486eaf61ffb5e35d324c
Build dir: /tmp/pip-install-9oihei66/numpy_ab2f00550b0d486eaf61ffb5e35d324c/.mesonpy-zyu8pknd
Build type: native build
WARNING: failed to process netrc file: bad toplevel token 'snsmvs01.schuster.com' (/home/autoh/.netrc, line 4).
Project name: NumPy
Project version: 2.0.2
C compiler for the host machine: gcc -pthread (gcc 13.3.0 "gcc (GCC) 13.3.0")
C linker for the host machine: gcc -pthread ld.aix 7.2.5
C++ compiler for the host machine: g++ -pthread (gcc 13.3.0 "g++ (GCC) 13.3.0")
C++ linker for the host machine: g++ -pthread ld.aix 7.2.5
Cython compiler for the host machine: cython (cython 3.1.2)
Host machine cpu family: ppc
Host machine cpu: powerpc
Program python found: YES (/opt/freeware/bin/python3)
Did not find pkg-config by name 'pkg-config'
Found pkg-config: NO
Run-time dependency python found: NO (tried pkgconfig, pkgconfig and sysconfig)
../meson.build:41:12: ERROR: Python dependency not found
A full log can be found at /tmp/pip-install-9oihei66/numpy_ab2f00550b0d486eaf61ffb5e35d324c/.mesonpy-zyu8pknd/meson-logs/meson-log.txt
error: subprocess-exited-with-error
Preparing metadata (pyproject.toml) did not run successfully.
exit code: 1
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /opt/freeware/bin/python3 /home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp2cyymri8
cwd: /tmp/pip-install-9oihei66/numpy_ab2f00550b0d486eaf61ffb5e35d324c
Preparing metadata (pyproject.toml): finished with status 'error'
error: metadata-generation-failed
Encountered error while generating package metadata.
See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Exception information:
Traceback (most recent call last):
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/build/metadata.py", line 34, in generate_metadata
distinfo_dir = backend.prepare_metadata_for_build_wheel(metadata_dir)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 723, in prepare_metadata_for_build_wheel
return super().prepare_metadata_for_build_wheel(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_impl.py", line 224, in prepare_metadata_for_build_wheel
return self._call_hook(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_impl.py", line 392, in _call_hook
self._subprocess_runner(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py", line 237, in runner
call_subprocess(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py", line 209, in call_subprocess
raise error
pip._internal.exceptions.InstallationSubprocessError: Preparing metadata (pyproject.toml) exited with 1
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper
status = _inner_run()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run
return self.run(options, args)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 68, in wrapper
return func(self, options, args)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 387, in run
requirement_set = resolver.resolve(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve
result = self._result = resolver.resolve(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 515, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 388, in resolve
self._add_to_criteria(self.state.criteria, r, parent=None)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 141, in _add_to_criteria
if not criterion.candidates:
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/structs.py", line 194, in __bool__
return bool(self._sequence)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 163, in __bool__
self._bool = any(self)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 147, in <genexpr>
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 37, in _iter_built
candidate = func()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 187, in _make_candidate_from_link
base: Optional[BaseCandidate] = self._make_base_candidate_from_link(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in __init__
super().__init__(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 159, in __init__
self.dist = self._prepare()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 236, in _prepare
dist = self._prepare_distribution()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 317, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 532, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 647, in _prepare_linked_requirement
dist = _get_prepared_distribution(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 69, in prepare_distribution_metadata
self.req.prepare_metadata()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 575, in prepare_metadata
self.metadata_directory = generate_metadata(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/build/metadata.py", line 36, in generate_metadata
raise MetadataGenerationFailed(package_details=details) from error
pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed
Removed build tracker: '/tmp/pip-build-tracker-_ifixjxl'
error: subprocess-exited-with-error
pip subprocess to install build dependencies did not run successfully.
exit code: 1
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /opt/freeware/bin/python3 /home/autoh/.local/lib/python3.9/site-packages/pip/__pip-runner__.py install --ignore-installed --no-user --prefix /tmp/pip-build-env-eltyg_0q/overlay --no-warn-script-location --disable-pip-version-check --no-compile --target '' -vv --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'meson-python>=0.13.1' 'meson>=1.2.1,<2' wheel 'Cython<4.0.0a0' 'numpy>=2.0' 'versioneer[toml]'
cwd: [inherit]
Installing build dependencies ... error
Remote version of pip: 25.1.1
Local version of pip: 25.1.1
Was pip installed by pip? True
error: subprocess-exited-with-error
pip subprocess to install build dependencies did not run successfully.
exit code: 1
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Exception information:
Traceback (most recent call last):
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper
status = _inner_run()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run
return self.run(options, args)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 68, in wrapper
return func(self, options, args)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 387, in run
requirement_set = resolver.resolve(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve
result = self._result = resolver.resolve(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 515, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 388, in resolve
self._add_to_criteria(self.state.criteria, r, parent=None)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 141, in _add_to_criteria
if not criterion.candidates:
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/structs.py", line 194, in __bool__
return bool(self._sequence)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 163, in __bool__
self._bool = any(self)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 147, in <genexpr>
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 37, in _iter_built
candidate = func()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 187, in _make_candidate_from_link
base: Optional[BaseCandidate] = self._make_base_candidate_from_link(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in __init__
super().__init__(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 159, in __init__
self.dist = self._prepare()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 236, in _prepare
dist = self._prepare_distribution()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 317, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 532, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 647, in _prepare_linked_requirement
dist = _get_prepared_distribution(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 46, in prepare_distribution_metadata
self._prepare_build_backend(finder)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 78, in _prepare_build_backend
self.req.build_env.install_requirements(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/build_env.py", line 216, in install_requirements
self._install_requirements(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/build_env.py", line 290, in _install_requirements
call_subprocess(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py", line 209, in call_subprocess
raise error
pip._internal.exceptions.InstallationSubprocessError: pip subprocess to install build dependencies exited with 1
Removed build tracker: '/tmp/pip-build-tracker-_ifixjxl'
Regards,
Ramkumar
------------------------------
Ram Kumar
------------------------------
Original Message:
Sent: Fri July 18, 2025 09:31 AM
From: Aditya Kamath
Subject: Python packages installation error on AIX 7.2
Hi Ram,
Is cmake and gmake installed? Can you do dnf install gmake cmake
and then try?
------------------------------
Aditya Kamath
Original Message:
Sent: Fri July 18, 2025 09:02 AM
From: Ram Kumar
Subject: Python packages installation error on AIX 7.2
Hi Aditya,
Thanks for your quick support, i executed the provided commands and get long output during install, unable to paste full output. please find we pasted last lines of output where we get error. please assist to fix it
-- Looking for a Fortran compiler
-- Looking for a Fortran compiler - NOTFOUND
-- Configuring done (94.2s)
-- Generating done (1.9s)
-- Build files have been written to: /tmp/tmpl1wsvrz9/cmake-4.0.3
---------------------------------------------
CMake has bootstrapped. Now run /usr/bin/make.
make: 1254-002 Cannot find a rule to create target 1 from dependencies.
Stop.
Traceback (most recent call last):
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
return _build_backend().build_wheel(
File "/tmp/pip-install-a9v5xlv0/cmake_08e26d3c484e460db044268ea2b02e3a/_build_backend/backend.py", line 156, in build_wheel
cmake_path = _bootstrap_build(temp_path, config_settings)
File "/tmp/pip-install-a9v5xlv0/cmake_08e26d3c484e460db044268ea2b02e3a/_build_backend/backend.py", line 128, in _bootstrap_build
subprocess.run([make_path, "-j", f"{parallel}"], env=env, check=True)
File "/opt/freeware/lib64/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/make', '-j', '1']' returned non-zero exit status 2.
error: subprocess-exited-with-error
Building wheel for cmake (pyproject.toml) did not run successfully.
exit code: 1
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /opt/freeware/bin/python3 /home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpqqwa3szu
cwd: /tmp/pip-install-a9v5xlv0/cmake_08e26d3c484e460db044268ea2b02e3a
Building wheel for cmake (pyproject.toml): finished with status 'error'
ERROR: Failed building wheel for cmake
Failed to build cmake
ERROR: Failed to build installable wheels for some pyproject.toml based projects (cmake)
Exception information:
Traceback (most recent call last):
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper
status = _inner_run()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run
return self.run(options, args)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 68, in wrapper
return func(self, options, args)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 436, in run
raise InstallationError(
pip._internal.exceptions.InstallationError: Failed to build installable wheels for some pyproject.toml based projects (cmake)
Removed build tracker: '/tmp/pip-build-tracker-mapbpa4q'
error: subprocess-exited-with-error
pip subprocess to install backend dependencies did not run successfully.
exit code: 1
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /opt/freeware/bin/python3 /home/autoh/.local/lib/python3.9/site-packages/pip/__pip-runner__.py install --ignore-installed --no-user --prefix /tmp/pip-build-env-p9i6dqli/normal --no-warn-script-location --disable-pip-version-check --no-compile --target '' -vv --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'hatch-fancy-pypi-readme>=22.3' setuptools-scm 'cmake>=3.15' cwd: [inherit]
Installing backend dependencies: finished with status 'error'
error: subprocess-exited-with-error
pip subprocess to install backend dependencies did not run successfully.
exit code: 1
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Exception information:
Traceback (most recent call last):
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper
status = _inner_run()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run
return self.run(options, args)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 68, in wrapper
return func(self, options, args)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 387, in run
requirement_set = resolver.resolve(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve
result = self._result = resolver.resolve(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 515, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 388, in resolve
self._add_to_criteria(self.state.criteria, r, parent=None)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 141, in _add_to_criteria
if not criterion.candidates:
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/structs.py", line 194, in __bool__
return bool(self._sequence)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 163, in __bool__
self._bool = any(self)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 147, in <genexpr>
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 37, in _iter_built
candidate = func()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 187, in _make_candidate_from_link
base: Optional[BaseCandidate] = self._make_base_candidate_from_link(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in __init__
super().__init__(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 159, in __init__
self.dist = self._prepare()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 236, in _prepare
dist = self._prepare_distribution()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 317, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 532, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 647, in _prepare_linked_requirement
dist = _get_prepared_distribution(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 56, in prepare_distribution_metadata
self._install_build_reqs(finder)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 130, in _install_build_reqs
self.req.build_env.install_requirements(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/build_env.py", line 216, in install_requirements
self._install_requirements(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/build_env.py", line 290, in _install_requirements
call_subprocess(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py", line 209, in call_subprocess
raise error
pip._internal.exceptions.InstallationSubprocessError: pip subprocess to install backend dependencies exited with 1
Removed build tracker: '/tmp/pip-build-tracker-mapbpa4q'
error: subprocess-exited-with-error
pip subprocess to install backend dependencies did not run successfully.
exit code: 1
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /opt/freeware/bin/python3 /home/autoh/.local/lib/python3.9/site-packages/pip/__pip-runner__.py install --ignore-installed --no-user --prefix /tmp/pip-build-env-tnxg9wtg/normal --no-warn-script-location --disable-pip-version-check --no-compile --target '' -vv --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'ninja >= 1.8.2' cwd: [inherit]
Installing backend dependencies: finished with status 'error'
error: subprocess-exited-with-error
pip subprocess to install backend dependencies did not run successfully.
exit code: 1
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Exception information:
Traceback (most recent call last):
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper
status = _inner_run()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run
return self.run(options, args)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 68, in wrapper
return func(self, options, args)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 387, in run
requirement_set = resolver.resolve(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve
result = self._result = resolver.resolve(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 515, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 388, in resolve
self._add_to_criteria(self.state.criteria, r, parent=None)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 141, in _add_to_criteria
if not criterion.candidates:
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/structs.py", line 194, in __bool__
return bool(self._sequence)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 163, in __bool__
self._bool = any(self)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 147, in <genexpr>
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 37, in _iter_built
candidate = func()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 187, in _make_candidate_from_link
base: Optional[BaseCandidate] = self._make_base_candidate_from_link(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in __init__
super().__init__(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 159, in __init__
self.dist = self._prepare()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 236, in _prepare
dist = self._prepare_distribution()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 317, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 532, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 647, in _prepare_linked_requirement
dist = _get_prepared_distribution(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 56, in prepare_distribution_metadata
self._install_build_reqs(finder)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 130, in _install_build_reqs
self.req.build_env.install_requirements(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/build_env.py", line 216, in install_requirements
self._install_requirements(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/build_env.py", line 290, in _install_requirements
call_subprocess(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py", line 209, in call_subprocess
raise error
pip._internal.exceptions.InstallationSubprocessError: pip subprocess to install backend dependencies exited with 1
Removed build tracker: '/tmp/pip-build-tracker-mapbpa4q'
error: subprocess-exited-with-error
pip subprocess to install build dependencies did not run successfully.
exit code: 1
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /opt/freeware/bin/python3 /home/autoh/.local/lib/python3.9/site-packages/pip/__pip-runner__.py install --ignore-installed --no-user --prefix /tmp/pip-build-env-pf3p93e5/overlay --no-warn-script-location --disable-pip-version-check --no-compile --target '' -vv --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'meson-python>=0.13.1' 'meson>=1.2.1,<2' wheel 'Cython<4.0.0a0' 'numpy>=2.0' 'versioneer[toml]' cwd: [inherit]
Installing build dependencies ... error
Remote version of pip: 25.1.1
Local version of pip: 25.1.1
Was pip installed by pip? True
error: subprocess-exited-with-error
pip subprocess to install build dependencies did not run successfully.
exit code: 1
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Exception information:
Traceback (most recent call last):
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper
status = _inner_run()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run
return self.run(options, args)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 68, in wrapper
return func(self, options, args)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 387, in run
requirement_set = resolver.resolve(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve
result = self._result = resolver.resolve(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 515, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 388, in resolve
self._add_to_criteria(self.state.criteria, r, parent=None)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 141, in _add_to_criteria
if not criterion.candidates:
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/structs.py", line 194, in __bool__
return bool(self._sequence)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 163, in __bool__
self._bool = any(self)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 147, in <genexpr>
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 37, in _iter_built
candidate = func()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 187, in _make_candidate_from_link
base: Optional[BaseCandidate] = self._make_base_candidate_from_link(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in __init__
super().__init__(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 159, in __init__
self.dist = self._prepare()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 236, in _prepare
dist = self._prepare_distribution()
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 317, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 532, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 647, in _prepare_linked_requirement
dist = _get_prepared_distribution(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 46, in prepare_distribution_metadata
self._prepare_build_backend(finder)
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 78, in _prepare_build_backend
self.req.build_env.install_requirements(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/build_env.py", line 216, in install_requirements
self._install_requirements(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/build_env.py", line 290, in _install_requirements
call_subprocess(
File "/home/autoh/.local/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py", line 209, in call_subprocess
raise error
pip._internal.exceptions.InstallationSubprocessError: pip subprocess to install build dependencies exited with 1
Removed build tracker: '/tmp/pip-build-tracker-mapbpa4q'
autoh> /home/autoh$
Regards,
Ramkumar
------------------------------
Ram Kumar
Original Message:
Sent: Fri July 18, 2025 03:42 AM
From: Aditya Kamath
Subject: Python packages installation error on AIX 7.2
Hi,
Pandas is available in the AIX toolbox. You can do a dnf install python3-pandas
.
In case you want to do a source install, then do this:
First clear your cache
pip3 cache purge
Then,
export CXX="g++ -pthread"export CXXFLAGS=-maix64export OBJECT_MODE=64export CC="gcc -pthread"export CFLAGS=-maix64export LDFLAGS="-lm -Wl,-blibpath:/opt/freeware/lib/pthread:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib:/lib"python3 -m pip install pandas -vv
------------------------------
Aditya Kamath
Original Message:
Sent: Thu July 17, 2025 12:07 PM
From: Ram Kumar
Subject: Python packages installation error on AIX 7.2
Hi Team,
We get below error while installing the python packages(numpy,pandas) on AIX 7.2. please assist to fix it
autoh> /home/autoh$pip3 install numpy pandas matplotlib seaborn scipy scikit-learn
WARNING: Ignoring invalid distribution -andas (/opt/freeware/lib64/python3.9/site-packages)
Collecting numpy
Using cached numpy-2.0.2-cp39-cp39-aix_7205_2445_64.whl
Collecting pandas
Using cached pandas-2.3.1.tar.gz (4.5 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
Preparing metadata (pyproject.toml) did not run successfully.
exit code: 1
[21 lines of output]
+ meson setup /tmp/pip-install-tpgwlf8t/pandas_af203a440c984016bcce808f9dbd34d8 /tmp/pip-install-tpgwlf8t/pandas_af203a440c984016bcce808f9dbd34d8/.mesonpy-t4nvyzcj -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=/tmp/pip-install-tpgwlf8t/pandas_af203a440c984016bcce808f9dbd34d8/.mesonpy-t4nvyzcj/meson-python-native-file.ini
The Meson build system
Version: 1.8.2
Source dir: /tmp/pip-install-tpgwlf8t/pandas_af203a440c984016bcce808f9dbd34d8
Build dir: /tmp/pip-install-tpgwlf8t/pandas_af203a440c984016bcce808f9dbd34d8/.mesonpy-t4nvyzcj
Build type: native build
WARNING: failed to process netrc file: bad toplevel token 'snsmvs01.schuster.com' (/home/autoh/.netrc, line 4).
Project name: pandas
Project version: 2.3.1
../meson.build:2:0: ERROR: Unknown compiler(s): [['cc'], ['gcc'], ['clang'], ['nvc'], ['pgcc'], ['icc'], ['icx']]
The following exception(s) were encountered:
Running `cc --version` gave "[Errno 2] No such file or directory: 'cc'"
Running `gcc --version` gave "[Errno 2] No such file or directory: 'gcc'"
Running `clang --version` gave "[Errno 2] No such file or directory: 'clang'"
Running `nvc --version` gave "[Errno 2] No such file or directory: 'nvc'"
Running `pgcc --version` gave "[Errno 2] No such file or directory: 'pgcc'"
Running `icc --version` gave "[Errno 2] No such file or directory: 'icc'"
Running `icx --version` gave "[Errno 2] No such file or directory: 'icx'"
A full log can be found at /tmp/pip-install-tpgwlf8t/pandas_af203a440c984016bcce808f9dbd34d8/.mesonpy-t4nvyzcj/meson-logs/meson-log.txt
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Encountered error while generating package metadata.
See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Regards,
Ramkumar
------------------------------
Ram Kumar
------------------------------