1、问题1
Running setup.py install for frida ... error
error: subprocess-exited-with-error
× Running setup.py install for frida did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-3.10
creating build/lib.macosx-10.9-universal2-3.10/frida
copying frida/__init__.py -> build/lib.macosx-10.9-universal2-3.10/frida
copying frida/core.py -> build/lib.macosx-10.9-universal2-3.10/frida
running build_ext
looking for prebuilt extension in home directory, i.e. /Users/mark.wu/frida-15.1.17-py3.10-macosx-10.9-x86_64.egg
prebuilt extension not found in home directory, will try downloading it
querying pypi for available prebuilds
using default index URL: https://pypi.org/simple/
downloading package list from https://pypi.org/simple/frida/
unable to download it within 20 seconds; please download it manually to /Users/mark.wu/frida-15.1.17-py3.10-macosx-10.9-x86_64.egg
error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
有一个SSL 错误这个是证书问题
sudo /Applications/Python\ 3.9/Install\ Certificates.command
以上填你对用的python 版本
2、
去官网下载库,安装
https://pypi.org/simple/frida/
easy_install frida-15.1.16-py3.10-win32.egg
3、版本问题,比如我的环境是python3.9但是frida只有3.8和3.10版本时,就下载3.10的,然后:
easy_install frida-15.1.16-py3.10-win32.egg
4、报No module named easy_install时:
①查看有没有安装setuptools;
②setuptools版本>51.3.3时,就没有带easy_install,按如下方式解决
pip uninstall setuptools
pip install -v setuptools==51.3.3
5、安装之后frida --version使用不了的
刷新一下环境变量 或者重启一下电脑
source ~/.bash_profile 回车
6、Failed to load script: timeout was reached
解决方法:进入adb shell ,关闭selinux
setenforce 0
确认是否设置成功
getenforce
**关闭selinux之后再次运行,即可成功执行 **
网友评论