~ $ pip install frida
Collecting frida
Using cached frida-16.1.3.tar.gz (41 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: frida
Building wheel for frida (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for frida (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-311
creating build/lib.linux-aarch64-cpython-311/frida
copying frida/__init__.py -> build/lib.linux-aarch64-cpython-311/frida
copying frida/core.py -> build/lib.linux-aarch64-cpython-311/frida
copying frida/py.typed -> build/lib.linux-aarch64-cpython-311/frida
creating build/lib.linux-aarch64-cpython-311/_frida
copying _frida/py.typed -> build/lib.linux-aarch64-cpython-311/_frida
copying _frida/__init__.pyi -> build/lib.linux-aarch64-cpython-311/_frida
running build_ext
building '_frida' extension
creating build/temp.linux-aarch64-cpython-311
creating build/temp.linux-aarch64-cpython-311/src
aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -I/frida-core/ -I/data/data/com.termux/files/usr/include/python3.11 -c src/_frida.c -o build/temp.linux-aarch64-cpython-311/src/_frida.o
src/_frida.c:7:10: fatal error: 'frida-core.h' file not found
#include <frida-core.h>
^~~~~~~~~~~~~~
1 error generated.
error: command '/data/data/com.termux/files/usr/bin/aarch64-linux-android-clang' 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 frida
Failed to build frida
ERROR: Could not build wheels for frida, which is required to install pyproject.toml-based projects