Skip to content
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 is no longer supported for python 2 #14

Closed
manishkumarr1017 opened this issue Nov 20, 2020 · 1 comment
Closed

r2pipe is no longer supported for python 2 #14

manishkumarr1017 opened this issue Nov 20, 2020 · 1 comment

Comments

@manishkumarr1017
Copy link

I have trouble while installing zeratool . As zeratool uses r2pipe but the latest version of r2pipe is no longer supported for python2
While installing r2pipe

ERROR: Command errored out with exit status 1:
     command: /home/manish/virtualenvs/zeratool/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-Rmigan/r2pipe/setup.py'"'"'; __file__='"'"'/tmp/pip-install-Rmigan/r2pipe/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-Qp3Wkt
         cwd: /tmp/pip-install-Rmigan/r2pipe/
    Complete output (9 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-Rmigan/r2pipe/setup.py", line 3, in <module>
        import r2pipe
      File "r2pipe/__init__.py", line 38, in <module>
        from r2pipe.open_sync import open
      File "r2pipe/open_sync.py", line 15, in <module>
        from urllib.error import URLError
    ImportError: No module named error
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

So it would be better in install.sh if we specify the r2pipe==1.4.2 as it supports python2 and also the package ropper should installed for the zeratool to work

@ChrisTheCoolHut
Copy link
Owner

#17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants