Search code examples
pythonwindowscmdpipfrida

Issues installing frida with pip


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.


Solution

  • 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.