I installed r2pipe, but it is not running. I do not understand.
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import r2pipe
>>> r2 = r2pipe.open("/bin/ls")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/r2pipe/__init__.py", line 132, in __init__
self.process = Popen(cmd, shell=False, stdin=PIPE, stdout=PIPE)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
ENVIRONMENT
SOLUTION
EXAMPLE
Example with r2pipe and radare2 not installed.
Example with r2pipe installed but not radare2.
Example with r2pipe and radare2 installed.