Issues installing frida with pip

536 views Asked by At

I have python 3.12 and the latest version of pip installed on windows 10, but when I run the command:

pip install frida-tools

In Command Prompt, I get the following error messages:

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

What could the issue be?

I tried looking for an answer on the internet but couldn't find anything regarding this specific case.

2

There are 2 answers

1
Isaac On BEST ANSWER

So I found out what my issue was, although I'm not entirely sure why it affects my ability to install packages via pip.

I had previously set an SSLKEYLOGFILE environment variable on my system and later on renamed its corresponding folder. After deleting said variable I was able to successfully run the frida install command.

Albeit niche, I hope this is of use to someone.

6
Carlos On

I noticed that you mentioned using pip version 3.12 with Python. I wanted to clarify that pip3 is the recommended package manager for Python 3.4 and later versions, and it is designed to work with packages that are compatible with these versions. Before proceeding, ensure that your pip is up-to-date by running the following command:

python -m pip install --upgrade pip

After that, you can try installing the frida-tools package using the command:

python -m pip install frida-tools

Additionally, You can find more information on the official Frida website, and you can access the code on GitHub. I hope this helps!