Why I always get an error when installing everything?
For an example python-apt
~ $ apt install python-apt
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required: libmaxminddb libssh
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
python-apt 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed.
Need to get 205 kB of archives.
After this operation, 1118 kB of additional disk space will be used.
Get:1 https://grimler.se/termux-packages-24 stable/main aarch64 python-apt aarch64 2.3.0 [205 kB]
Fetched 205 kB in 2s (85.2 kB/s)
Selecting previously unselected package python-apt.
(Reading database ... 105720 files and directories currently installed.)
Preparing to unpack .../python-apt_2.3.0_aarch64.deb ...
Unpacking python-apt (2.3.0) ... Setting up python-apt (2.3.0) ...
Setting up zeronet (0.7.1-8) ... Installing Python module: gevent...
Requirement already satisfied: gevent in /data/data/com.termux/files/usr/lib/python3.10/site-packages (21.12.0) Requirement already satisfied: zope.event in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from gevent) (4.5.0)
Requirement already satisfied: greenlet<2.0,>=1.1.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from gevent) (1.1.2) Requirement already satisfied: setuptools in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from gevent) (58.1.0)
Requirement already satisfied: zope.interface in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from gevent) (5.4.0)
Installing Python module: msgpack...
Requirement already satisfied: msgpack in /data/data/com.termux/files/usr/lib/python3.10/site-packages (1.0.4)
Installing Python module: base58...
Requirement already satisfied: base58 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (2.1.1)
Installing Python module: merkletools...
Requirement already satisfied: merkletools in /data/data/com.termux/files/usr/lib/python3.10/site-packages (1.0.3) Requirement already satisfied: pysha3>=1.0b1 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from merkletools) (1.0.2) Installing Python module: rsa...
Requirement already satisfied: rsa in /data/data/com.termux/files/usr/lib/python3.10/site-packages (4.8)
Requirement already satisfied: pyasn1>=0.1.3 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from rsa) (0.4.8)
Installing Python module: PySocks... Requirement already satisfied: PySocks in /data/data/com.termux/files/usr/lib/python3.10/site-packages (1.7.1)
Installing Python module: pyasn1... Requirement already satisfied: pyasn1 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (0.4.8)
Installing Python module: websocket_client...
Requirement already satisfied: websocket_client in /data/data/com.termux/files/usr/lib/python3.10/site-packages (1.3.2)
Installing Python module: gevent-websocket... Requirement already satisfied: gevent-websocket in /data/data/com.termux/files/usr/lib/python3.10/site-packages (0.10.1) Requirement already satisfied: gevent in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from gevent-websocket) (21.12.0)
Requirement already satisfied: zope.event in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from gevent->gevent-websocket) (4.5.0)
Requirement already satisfied: setuptools in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from gevent->gevent-websocket) (58.1.0)
Requirement already satisfied: zope.interface in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from gevent->gevent-websocket) (5.4.0)
Requirement already satisfied: greenlet<2.0,>=1.1.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from gevent->gevent-websocket) (1.1.2)
Installing Python module: bencode.py...
Requirement already satisfied: bencode.py in /data/data/com.termux/files/usr/lib/python3.10/site-packages (4.0.0)
Installing Python module: coincurve...
Collecting coincurve Using cached coincurve-17.0.0.tar.gz (2.5 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting asn1crypto
Using cached asn1crypto-1.5.1-py2.py3-none-any.whl (105 kB)
Collecting cffi>=1.3.0
Using cached cffi-1.15.0-cp310-cp310-linux_aarch64.whl
Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Building wheels for collected packages: coincurve
Building wheel for coincurve (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for coincurve (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [69 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-310
creating build/lib.linux-aarch64-cpython-310/coincurve copying coincurve/init.py -> build/lib.linux-aarch64-cpython-310/coincurve
copying coincurve/_windows_libsecp256k1.py -> build/lib.linux-aarch64-cpython-310/coincurve
copying coincurve/context.py -> build/lib.linux-aarch64-cpython-310/coincurve
copying coincurve/ecdsa.py -> build/lib.linux-aarch64-cpython-310/coincurve
copying coincurve/flags.py -> build/lib.linux-aarch64-cpython-310/coincurve
copying coincurve/keys.py -> build/lib.linux-aarch64-cpython-310/coincurve
copying coincurve/types.py -> build/lib.linux-aarch64-cpython-310/coincurve
copying coincurve/utils.py -> build/lib.linux-aarch64-cpython-310/coincurve
copying coincurve/py.typed -> build/lib.linux-aarch64-cpython-310/coincurve
running build_clib
/data/data/com.termux/files/usr/tmp/pip-install-ey_gvd7g/coincurve_9ad483d313a34c59b8882aa99ae5e80c/libsecp256k1/autogen.sh: 3: autoreconf: not found
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in
main()
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 261, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 244, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 229, in _build_with_temp_dir
self.run_setup() File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 281, in run_setup
super(_BuildMetaLegacyBackend,
File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 174, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 264, in
setup(
File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 163, in run_commands dist.run_commands()
File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run()
File "setup.py", line 97, in run
_bdist_wheel.run(self)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1229, in run_command super().run_command(command)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 136, in run
self.run_command(cmd_name)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command) File "/data/data/com.termux/files/usr/tmp/pip-build-env-th0aafzx/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "setup.py", line 154, in run
subprocess.check_call([autogen], cwd=absolute('libsecp256k1'))
File "/data/data/com.termux/files/usr/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/data/data/com.termux/files/usr/tmp/pip-install-ey_gvd7g/coincurve_9ad483d313a34c59b8882aa99ae5e80c/libsecp256k1/autogen.sh']' returned non-zero exit status 127.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for coincurve
Failed to build coincurve
ERROR: Could not build wheels for coincurve, which is required to install pyproject.toml-based projects
Retrying installation of coincurve...
Collecting coincurve
Using cached coincurve-17.0.0.tar.gz (2.5 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting asn1crypto Using cached asn1crypto-1.5.1-py2.py3-none-any.whl (105 kB)
Collecting cffi>=1.3.0
Using cached cffi-1.15.0-cp310-cp310-linux_aarch64.whl Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Building wheels for collected packages: coincurve
Building wheel for coincurve (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for coincurve (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [69 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-310
creating build/lib.linux-aarch64-cpython-310/coincurve
copying coincurve/init.py -> build/lib.linux-aarch64-cpython-310/coincurve copying coincurve/_windows_libsecp256k1.py -> build/lib.linux-aarch64-cpython-310/coincurve
copying coincurve/context.py -> build/lib.linux-aarch64-cpython-310/coincurve
copying coincurve/ecdsa.py -> build/lib.linux-aarch64-cpython-310/coincurve
copying coincurve/flags.py -> build/lib.linux-aarch64-cpython-310/coincurve
copying coincurve/keys.py -> build/lib.linux-aarch64-cpython-310/coincurve
copying coincurve/types.py -> build/lib.linux-aarch64-cpython-310/coincurve
copying coincurve/utils.py -> build/lib.linux-aarch64-cpython-310/coincurve
copying coincurve/py.typed -> build/lib.linux-aarch64-cpython-310/coincurve
running build_clib
/data/data/com.termux/files/usr/tmp/pip-install-f87csmrq/coincurve_67e21ff6a4f54121b25a230ee86908d5/libsecp256k1/autogen.sh: 3: autoreconf: not found
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/in_process.py", line 363, in
main()
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/pip/vendor/pep517/in_process/in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/pip/vendor/pep517/in_process/in_process.py", line 261, in build_wheel
return build_backend().build_wheel(wheel_directory, config_settings,
File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 244, in build_wheel
return self.build_with_temp_dir(['bdist_wheel'], '.whl',
File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 229, in build_with_temp_dir
self.run_setup()
File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 281, in run_setup
super(BuildMetaLegacyBackend,
File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 174, in run_setup
exec(compile(code, file, 'exec'), locals()) File "setup.py", line 264, in
setup(
File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs) File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/distutils/core.py", line 148, in setup
return run_commands(dist)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/distutils/core.py", line 163, in run_commands
dist.run_commands() File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1229, in run_command super().run_command(command)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/distutils/dist.py", line 986, in run_command cmd_obj.run()
File "setup.py", line 97, in run bdist_wheel.run(self)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build') File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/distutils/dist.py", line 986, in run_command
cmd_obj.run() File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/distutils/command/build.py", line 136, in run
self.run_command(cmd_name)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command) File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-6q9jimy/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run() File "setup.py", line 154, in run
subprocess.check_call([autogen], cwd=absolute('libsecp256k1'))
File "/data/data/com.termux/files/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/data/data/com.termux/files/usr/tmp/pip-install-f87csmrq/coincurve_67e21ff6a4f54121b25a230ee86908d5/libsecp256k1/autogen.sh']' returned non-zero exit status 127. [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for coincurve
Failed to build coincurve ERROR: Could not build wheels for coincurve, which is required to install pyproject.toml-based projects Failed to install coincurve.
dpkg: error processing package zeronet (--configure):
installed zeronet package post-installation script subprocess returned error exit status 1 Errors were encountered while processing:
zeronet E: Sub-process /data/data/com.termux/files/usr/bin/dpkg returned an error code (1)
Please,if anyone know how to fix the problem