Skip to content

pip 安装 frida 失败 ​

📦 pip install frida 报错。

常见错误 ​

1. 版本不兼容 Python ​

ERROR: Could not find a version that satisfies the requirement frida

frida 对 Python 版本有要求(通常支持 3.8+)。检查 Python 版本:

bash
python3 --version

2. 网络问题 ​

Read timed out / Connection error

用国内镜像:

bash
pip install frida -i https://pypi.tuna.tsinghua.edu.cn/simple

3. 缺 build 工具(源码编译时) ​

部分平台无预编译 wheel,需编译。装 build 工具:

bash
# Ubuntu
sudo apt install python3-dev build-essential

4. frida-tools 也要装 ​

bash
pip install frida-tools

frida 17 下 frida_tools 提供 bridges 源码,必须装,否则 Java 桥接失效。详见 frida 17 兼容。

推荐版本 ​

bash
# 与安卓 16 配
pip install frida==17.* frida-tools==17.*
# 与安卓 14 配
pip install frida==16.5.2 frida-tools==12.x

相关文档 ​

基于 VitePress 构建 · 教学用途