frida 14.2.18 安装报错解决

此贴旨在记录frida安装错误解决过程

frida 14.2.18 这个版本看起来是网上各个教程使用比较多的版本,新版frida有很多api进行了改动。

建议安装环境:

python=3.8

frida=14.2.18

frida-tools=9.2.4

  • 1.首先执行

pip3 install frida-tools==9.2.4 -i https://pypi.mirrors.ustc.edu.cn/simple/

ps:安装firda-tools 9.2.4版本,会自动安装frida依赖

  • 2.报错处理

这里会提示报错:

Traceback (most recent call last):

File "C:\Users\A\AppData\Local\Temp\pip-install-1wl55ufj\frida_a98f6605b4c94c63a44a70d7ef5aeee2\setup.py", line 101, in build_extension

with open(egg_path, "rb") as cache:

FileNotFoundError: Errno 2 No such file or directory: 'C:\\Users\\A/frida-14.2.18-py3.8-win-amd64.egg'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

....

end of output

note: This error originates from a subprocess, and is likely not a problem with pip.

ERROR: Failed building wheel for frida

Running setup.py clean for frida

Successfully built frida-tools

Failed to build frida

ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (frida)

这里要仔细注意下报错的堆栈,提示的直接原因是:

No such file or directory: 'C:\\Users\\A/frida-14.2.18-py3.8-win-amd64.egg'

也就是提示我们需要自己提供frida-14.2.18-py3.8-win-amd64.egg这样一个文件并且放置在

C:\\Users\\A目录下

注意这里A是我的用户名,即路径是C:\\Users\\用户

这里我们去

https://pypi.org/project/frida/14.2.18/#files

直接下载frida-14.2.18-py3.8-win-amd64.egg文件,然后下载完移动到C:\\Users\\用户 目录下

  • 3.再次安装

pip3 install frida-tools==9.2.4 -i https://pypi.mirrors.ustc.edu.cn/simple/

提示安装成功

Successfully built frida

Installing collected packages: wcwidth, pygments, frida, colorama, prompt-toolkit, frida-tools

Successfully installed colorama-0.4.6 frida-14.2.18 frida-tools-9.2.4 prompt-toolkit-3.0.52 pygments-2.19.2 wcwidth-0.6.0

参考:

https://bbs.kanxue.com/thread-280436.htm

相关推荐
octopus_c3 小时前
数据结构:堆(Heap)详解
c语言·数据结构·算法
YH55269848 小时前
GPT‑5.6 Sol 原本支持 1M 上下文,Codex 现已放开此前限制,如何看待这次调整?
java·jvm·人工智能·gpt·算法·chatgpt
遥感知识服务10 小时前
从局部阈值、双极化到暗地表剔除:NASA OPERA DSWx-S1全球动态水体算法拆解
大数据·人工智能·深度学习·神经网络·算法·机器学习
晚风醉蝶10 小时前
1-13-TimSort
算法
ZJU_统一阿萨姆10 小时前
【算子开发】算子融合与Softmax_LayerNorm实现
人工智能·算法·语言模型·硬件架构
叩码以求索12 小时前
浅谈:前序遍历反转法求解N叉树的后序遍历
算法
官乐13 小时前
AI面试指南(多agent开发流程)
人工智能·面试·职场和发展
北风toto14 小时前
中缀、前缀、后缀表达式
算法·软件设计师
程序员三藏14 小时前
自动化测试用例编写详解
自动化测试·软件测试·python·功能测试·测试工具·职场和发展·测试用例
听取WA声一片(无恶意)14 小时前
CSP-J/CSP-S 深度优先搜索(DFS)完全讲义
c++·算法·深度优先