使用 pip 安装 frida 时出现问题

问题描述 投票:0回答:2

我在 Windows 10 上安装了 python 3.12 和最新版本的 pip,但是当我运行命令时:

pip install frida-tools

在命令提示符中,我收到以下错误消息:

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/frida-tools/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/frida-tools/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/frida-tools/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/frida-tools/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/frida-tools/
ERROR: Could not find a version that satisfies the requirement frida-tools (from versions: none)
ERROR: No matching distribution found for frida-tools

可能是什么问题?

我尝试在互联网上寻找答案,但找不到有关此特定案例的任何内容。

python windows cmd pip frida
2个回答
0
投票

所以我发现了我的问题是什么,尽管我不完全确定为什么它会影响我通过 pip 安装软件包的能力。

我之前在系统上设置了 SSLKEYLOG 环境变量,后来重命名了其相应的文件夹。删除所述变量后,我能够成功运行 frida install 命令。

虽然小众,但我希望这对某人有用。


-1
投票

我注意到您提到在 Python 中使用 pip 版本 3.12。我想澄清一下,pip3 是 Python 3.4 及更高版本的推荐包管理器,它旨在与与这些版本兼容的包一起使用。在继续之前,请通过运行以下命令确保您的 pip 是最新的:

python -m pip install --upgrade pip

之后,您可以尝试使用以下命令安装 frida-tools 软件包:

python -m pip install frida-tools

此外,您可以在Frida官方网站上找到更多信息,并且可以在GitHub上访问代码。我希望这有帮助!

© www.soinside.com 2019 - 2024. All rights reserved.