radareorg / radare2-r2pipe

Access radare2 via pipe from any programming language!
390 stars 99 forks source link

Error after r2pm -i r2pipe-py #121

Closed fr0ster closed 4 years ago

fr0ster commented 4 years ago

Describe the issue

Can't install r2pipe

How to reproduce?

$r2pm -i r2pipe-py r2pm -i r2pipe-py vagrant@vagrant Install Done For r2pipe-py /usr/lib/python2.7/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release. from cryptography.utils import int_from_bytes DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Defaulting to user installation because normal site-packages is not writeable Collecting r2pipe Using cached r2pipe-1.5.0.tar.gz (8.7 kB) ERROR: Command errored out with exit status 1: command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-kcTMg9/r2pipe/setup.py'"'"'; file='"'"'/tmp/pip-install-kcTMg9/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-gKlTuW cwd: /tmp/pip-install-kcTMg9/r2pipe/ Complete output (9 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-kcTMg9/r2pipe/setup.py", line 3, in import r2pipe File "r2pipe/init.py", line 38, in from r2pipe.open_sync import open File "r2pipe/open_sync.py", line 15, in 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.

Expected behavior

I want to get working plugin

Possible fix

I can't install it for python3 as pip3 install r2pipe

trufae commented 4 years ago

Theres a repo for r2pipe. This is not the right repo to fill this issue. Also, py2 support was removed one year ago. Whats the error you get with pip3?