python-apt
python-apt copied to clipboard
Error when installing python-apt(or other software) in termux from android
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
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
Please,if anyone know how to fix the problem