I try to install pyinstaller then Im getting
build error
What steps will reproduce the bug?
pip3 install pyinstaller
Collecting pyinstaller
Using cached pyinstaller-6.11.0.tar.gz (4.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: setuptools>=42.0.0 in /data/data/com.termux/files/usr/lib/python3.12/site-packages (from pyinstaller) (75.1.0) Collecting altgraph (from pyinstaller)
Using cached altgraph-0.17.4-py2.py3-none-any.whl.metadata (7.3 kB)
Collecting pyinstaller-hooks-contrib>=2024.8 (from pyinstaller)
Using cached pyinstaller_hooks_contrib-2024.9-py3-none-any.whl.metadata (16 kB)
Collecting packaging>=22.0 (from pyinstaller)
Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Using cached pyinstaller_hooks_contrib-2024.9-py3-none-any.whl (336 kB)
Using cached altgraph-0.17.4-py2.py3-none-any.whl (21 kB)
Building wheels for collected packages: pyinstaller
Building wheel for pyinstaller (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pyinstaller (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py:251: _IncompatibleBdistWheel: wheel.bdist_wheel is deprecated, please import it from setuptools
!!
********************************************************************************
Ensure that any custom bdist_wheel implementation is a subclass of
setuptools.command.bdist_wheel.bdist_wheel.
By 2025-Oct-15, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://github.com/pypa/wheel/pull/631 for details.
********************************************************************************
!!
return _build_backend().build_wheel(wheel_directory, config_settings,
running bdist_wheel
running clean
'build/lib' does not exist -- can't clean it
'build/bdist.linux-aarch64' does not exist -- can't clean it
'build/scripts-3.12' does not exist -- can't clean it
running build
running build_bootloader
error: [Errno 2] No such file or directory: 'ldd'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyinstaller
Failed to build pyinstaller
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyinstaller)
Problem description
I try to install pyinstaller then Im getting build error
What steps will reproduce the bug?
pip3 install pyinstaller
What is the expected behavior?
uhm to be installed successfully
System information