Error


SUBMITTED BY: Lucoz

DATE: Aug. 24, 2023, 7:29 p.m.

UPDATED: Aug. 24, 2023, 7:56 p.m.

FORMAT: Text only

SIZE: 7.1 kB

HITS: 509

  1. ~ $ pip install frida
  2. Collecting frida
  3. Downloading frida-16.1.3.tar.gz (41 kB)
  4. ━━━━━━━━━━━━━━━━━━━━━ 41.1/41.1 kB 513.4 kB/s eta 0:00:00
  5. Installing build dependencies ... done
  6. Getting requirements to build wheel ... done
  7. Installing backend dependencies ... done
  8. Preparing metadata (pyproject.toml) ... done
  9. Building wheels for collected packages: frida
  10. Building wheel for frida (pyproject.toml) ... error
  11. error: subprocess-exited-with-error
  12. × Building wheel for frida (pyproject.toml) did not run successfully.
  13. │ exit code: 1
  14. ╰─> [72 lines of output]
  15. running bdist_wheel
  16. running build
  17. running build_py
  18. creating build
  19. creating build/lib.linux-aarch64-cpython-311
  20. creating build/lib.linux-aarch64-cpython-311/frida
  21. copying frida/__init__.py -> build/lib.linux-aarch64-cpython-311/frida
  22. copying frida/core.py -> build/lib.linux-aarch64-cpython-311/frida
  23. copying frida/py.typed -> build/lib.linux-aarch64-cpython-311/frida
  24. creating build/lib.linux-aarch64-cpython-311/_frida
  25. copying _frida/py.typed -> build/lib.linux-aarch64-cpython-311/_frida
  26. copying _frida/__init__.pyi -> build/lib.linux-aarch64-cpython-311/_frida
  27. running build_ext
  28. Traceback (most recent call last):
  29. File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
  30. main()
  31. File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
  32. json_out['return_val'] = hook(**hook_input['kwargs'])
  33. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  34. File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
  35. return _build_backend().build_wheel(wheel_directory, config_settings,
  36. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  37. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 434, in build_wheel
  38. return self._build_with_temp_dir(
  39. ^^^^^^^^^^^^^^^^^^^^^^^^^^
  40. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 419, in _build_with_temp_dir
  41. self.run_setup()
  42. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in run_setup
  43. exec(code, locals())
  44. File "<string>", line 102, in <module>
  45. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 107, in setup
  46. return distutils.core.setup(**attrs)
  47. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  48. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
  49. return run_commands(dist)
  50. ^^^^^^^^^^^^^^^^^^
  51. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
  52. dist.run_commands()
  53. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
  54. self.run_command(cmd)
  55. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command
  56. super().run_command(command)
  57. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
  58. cmd_obj.run()
  59. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/normal/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 364, in run
  60. self.run_command("build")
  61. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
  62. self.distribution.run_command(command)
  63. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command
  64. super().run_command(command)
  65. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
  66. cmd_obj.run()
  67. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 131, in run
  68. self.run_command(cmd_name)
  69. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
  70. self.distribution.run_command(command)
  71. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command
  72. super().run_command(command)
  73. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
  74. cmd_obj.run()
  75. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 88, in run
  76. _build_ext.run(self)
  77. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
  78. self.build_extensions()
  79. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
  80. self._build_extensions_serial()
  81. File "/data/data/com.termux/files/usr/tmp/pip-build-env-gngbgpf1/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
  82. self.build_extension(ext)
  83. File "<string>", line 34, in build_extension
  84. RuntimeError: Need frida-core devkit to build from source.
  85. Download one from https://github.com/frida/frida/releases, extract it to a directory,
  86. and then add an environment variable named FRIDA_CORE_DEVKIT pointing at the directory.
  87. [end of output]
  88. note: This error originates from a subprocess, and is likely not a problem with pip.
  89. ERROR: Failed building wheel for frida
  90. Failed to build frida
  91. ERROR: Could not build wheels for frida, which is required to install pyproject.toml-based projects

comments powered by Disqus