栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

安装frida的遇到的坑

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

安装frida的遇到的坑

安装frida遇到的坑

原始环境:
Windows 10
Python 3.7.3

执行命令:

pip install frida

报如下错误:
Collecting frida
Using cached https://files.pythonhosted.org/packages/c6/0e/9b837472e1dd866ef002a6bf5f2dde42b0c4f0bfcf8f5ab80797a148025e/frida-15.1.17.tar.gz
Requirement already satisfied: setuptools in c:usersjerryappdatalocalprogramspythonpython37libsite-packages (from frida) (40.8.0)
Installing collected packages: frida
Running setup.py install for frida … error
Complete output from command c:usersjerryappdatalocalprogramspythonpython37python.exe -u -c “import setuptools, tokenize;file=‘C:UsersJerryAppDataLocalTemppip-install-mevguh8wfridasetup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’rn’, ‘n’);f.close();exec(compile(code, file, ‘exec’))” install --record C:UsersJerryAppDataLocalTemppip-record-yd0eyyw7install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating buildlib.win-amd64-3.7
creating buildlib.win-amd64-3.7frida
copying fridacore.py -> buildlib.win-amd64-3.7frida
copying frida_init_.py -> buildlib.win-amd64-3.7frida
running build_ext
error:
looking for prebuilt extension in home directory, i.e. C:UsersJerry/frida-15.1.17-py3.7-win-amd64.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 C:UsersJerry/frida-15.1.17-py3.7-win-amd64.egg
----------------------------------------
Command “c:usersjerryappdatalocalprogramspythonpython37python.exe -u -c “import setuptools, tokenize;file=‘C:UsersJerryAppDataLocalTemppip-install-mevguh8wfridasetup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’rn’, ‘n’);f.close();exec(compile(code, file, ‘exec’))” install --record C:UsersJerryAppDataLocalTemppip-record-yd0eyyw7install-record.txt --single-version-externally-managed --compile” failed with error code 1 in C:UsersJerryAppDataLocalTemppip-install-mevguh8wfrida
You are using pip version 19.0.3, however version 22.0.4 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.

意思是:
SSL证书、字符、目录有错误,这都不是pip的错误,而是python的安装文件的问题。所以解决办法是:
卸载干净python程序文件,下载python 3.7.9版本,然后安装再执行pip install frida命令就不会出错了,会有一个警告信息,意思是你的pip不是最新版本,我们无需管它。

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/756892.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号