frida / frida

Clone this repo to build Frida
https://frida.re
Other
16.27k stars 1.67k forks source link

Unable to run Frida on windows #2202

Open AshishDora opened 2 years ago

AshishDora commented 2 years ago

Traceback (most recent call last): File "C:\Python27\Scripts\frida-script.py", line 11, in load_entry_point('frida-tools==11.0.0', 'console_scripts', 'frida')() File "c:\python27\lib\site-packages\pkg_resources__init.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "c:\python27\lib\site-packages\pkg_resources__init.py", line 2852, in load_entry_point return ep.load() File "c:\python27\lib\site-packages\pkg_resources__init__.py", line 2443, in load return self.resolve() File "c:\python27\lib\site-packages\pkg_resources\init.py", line 2449, in resolve module = import__(self.module_name, fromlist=['name__'], level=0) File "c:\python27\lib\site-packages\frida_tools\repl.py", line 402 def _exec_and_print(self, exec, arg): ^ SyntaxError: invalid syntax

aklee commented 2 years ago

same on macos

➜ ~ frida --help Traceback (most recent call last): File "/Users/ak/Library/Python/2.7/bin/frida", line 5, in from frida_tools.repl import main File "/Users/ak/Library/Python/2.7/lib/python/site-packages/frida_tools/repl.py", line 402 def _exec_and_print(self, exec, arg)

Yooi commented 2 years ago

same as mine

Traceback (most recent call last): File "C:\Python27\Scripts\frida-script.py", line 11, in <module> load_entry_point('frida-tools==11.0.0', 'console_scripts', 'frida')() File "c:\python27\lib\site-packages\pkg_resources\__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "c:\python27\lib\site-packages\pkg_resources\__init__.py", line 2852, in load_entry_point return ep.load() File "c:\python27\lib\site-packages\pkg_resources\__init__.py", line 2443, in load return self.resolve() File "c:\python27\lib\site-packages\pkg_resources\__init__.py", line 2449, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "c:\python27\lib\site-packages\frida_tools\repl.py", line 402 def _exec_and_print(self, exec, arg): ^ SyntaxError: invalid syntax

01-x-x-10 commented 2 years ago

Linux:

Traceback (most recent call last): File "/home/a/.local/bin/frida", line 5, in from frida_tools.repl import main File "/home/a/.local/lib/python2.7/site-packages/frida_tools/repl.py", line 402 def _exec_and_print(self, exec, arg): ^ SyntaxError: invalid syntax