-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
r2pipe cannot open file as a user #108
Comments
probably an issue in python, and your system, r2pipe works without any special permission or priviledge
… On 30 Oct 2019, at 09:22, Fayozbek ***@***.***> wrote:
The first of all thank you for the awesome project.
I am a newbie in Linux and Python
As a user, I have installed "radare2" and "r2pipe" (pip install r2pipe). But when I try to run a simple example (https://github.com/radareorg/radare2-r2pipe/tree/master/python <https://github.com/radareorg/radare2-r2pipe/tree/master/python>).
AttributeError: 'module' object has no attribute 'open'
And then I installed r2pipe as root. When I run this example as root, it works well.
I want to use r2pipe as a user.
Can you say what kind of mistake I made?
Thank you very much
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#108?email_source=notifications&email_token=AAG75FQMFQV2IA7B7Q3BPETQRE76FA5CNFSM4JGVGXHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HVKJSUQ>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAG75FX7J3VD5I2N5CVMIV3QRE76FANCNFSM4JGVGXHA>.
|
@Fayozbek pip can break your system if it is installed out of virtualenv. Ensure you did it in. Else, Try:
then try to launch your script. Note that I am facing a similar issue. virtualenv does not solve it for me. Our issue may be different. So you can try. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The first of all thank you for the awesome project.
I am a newbie in Linux and Python
As a user, I have installed "radare2" and "r2pipe" (pip install r2pipe). But when I try to run a simple example (https://github.com/radareorg/radare2-r2pipe/tree/master/python).
AttributeError: 'module' object has no attribute 'open'
And then I installed r2pipe as root. When I run this example as root, it works well.
I want to use r2pipe as a user.
Can you say what kind of mistake I did?
Thank you very much
The text was updated successfully, but these errors were encountered: