frida install error
Namjin-Kim opened this issue · 0 comments
Frida cannot be installed due to the following error.
Defaulting to user installation because normal site-packages is not writeable
Processing ./.cache/pip/wheels/4d/33/97/c31bbbe82152e54125472f36bcc49a3e5fb15f29dce4b329de/frida_tools-8.1.3-py3-none-any.whl
Requirement already satisfied: colorama<1.0.0,>=0.2.7 in ./.local/lib/python3.6/site-packages (from frida-tools) (0.4.3)
Requirement already satisfied: pygments<3.0.0,>=2.0.2 in ./.local/lib/python3.6/site-packages (from frida-tools) (2.6.1)
Requirement already satisfied: prompt-toolkit<4.0.0,>=2.0.0 in ./.local/lib/python3.6/site-packages (from frida-tools) (3.0.6)
Collecting frida<13.0.0,>=12.10.4
Using cached frida-12.11.9.tar.gz (7.4 kB)
Requirement already satisfied: wcwidth in ./.local/lib/python3.6/site-packages (from prompt-toolkit<4.0.0,>=2.0.0->frida-tools) (0.2.5)
Building wheels for collected packages: frida
Building wheel for frida (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-o0g7_psg/frida/setup.py'"'"'; file='"'"'/tmp/pip-install-o0g7_psg/frida/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-02c18buu
cwd: /tmp/pip-install-o0g7_psg/frida/
Complete output (15 lines):
/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/frida
copying frida/core.py -> build/lib.linux-x86_64-3.6/frida
copying frida/init.py -> build/lib.linux-x86_64-3.6/frida
running build_ext
looking for prebuilt extension in home directory, i.e. /home/namjin/frida-12.11.9-py3.6-linux-x86_64.egg
prebuilt extension not found in home directory, will try downloading it
querying pypi for available prebuilds
error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)>
ERROR: Failed building wheel for frida
Running setup.py clean for frida
Failed to build frida
DEPRECATION: Could not build wheels for frida which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at pypa/pip#8368.
Installing collected packages: frida, frida-tools
Running setup.py install for frida ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-o0g7_psg/frida/setup.py'"'"'; file='"'"'/tmp/pip-install-o0g7_psg/frida/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-u0ct7u9t/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/namjin/.local/include/python3.6m/frida
cwd: /tmp/pip-install-o0g7_psg/frida/
Complete output (15 lines):
/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/frida
copying frida/core.py -> build/lib.linux-x86_64-3.6/frida
copying frida/init.py -> build/lib.linux-x86_64-3.6/frida
running build_ext
looking for prebuilt extension in home directory, i.e. /home/namjin/frida-12.11.9-py3.6-linux-x86_64.egg
prebuilt extension not found in home directory, will try downloading it
querying pypi for available prebuilds
error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)>
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-o0g7_psg/frida/setup.py'"'"'; file='"'"'/tmp/pip-install-o0g7_psg/frida/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-u0ct7u9t/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/namjin/.local/include/python3.6m/frida Check the logs for full command output.