radareorg / radare2-bindings

Bindings of the r2 api for Valabind and friends
GNU Lesser General Public License v3.0
131 stars 92 forks source link

ImportError: No module named r_util #109

Closed dhxkgozj closed 8 years ago

dhxkgozj commented 8 years ago

root@ubuntu:~/radare2/radare2-bindings/python# python test-r2rc.py Traceback (most recent call last): File "test-r2rc.py", line 6, in from r_util import * ImportError: No module named r_util

Why is this a problem?

radare commented 8 years ago

You have to build the bindings first

On 03 Apr 2016, at 08:37, TAKI notifications@github.com wrote:

root@ubuntu:~/radare2/radare2-bindings/python# python test-r2rc.py Traceback (most recent call last): File "test-r2rc.py", line 6, in from r_util import * ImportError: No module named r_util

Why is this a problem?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub

dhxkgozj commented 8 years ago

radare build is completed but r_utils not found.

./configure --prefix=/usr --enable-devel $ cd python $ PYTHON_CONFIG=python2.7-config make $ su -

PYTHON_CONFIG=python2.7-config make install

Another option is required?

XVilka commented 8 years ago

It means there was an error during the building - check your logs and paste it here On Apr 3, 2016 11:55 AM, "TAKI" notifications@github.com wrote:

radare build is completed but r_utils not found.

./configure --prefix=/usr --enable-devel $ cd python $ PYTHON_CONFIG=python2.7-config make $ su - PYTHON_CONFIG=python2.7-config make install

Another option is required?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/radare/radare2-bindings/issues/109#issuecomment-204919205

dhxkgozj commented 8 years ago

reinstall sucess. Thank!