报错信息如下
ERROR: Complete output from command python setup.py egg_info:
ERROR: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-auc2i3sk/pwntools/setup.py", line 66, in <module>
print >> sys.stderr, "You must install the Python development headers!"
TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and '_io.TextIOWrapper'. Did you mean "print(<message>, file=<output_stream>)"?
----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-auc2i3sk/pwntools/
解决方式:
1. 在命令行中输入python检查系统中是否安装了python
2.进入到root用户权限,并通过如下命令行安装python development headers系统库
[root@localhost s2e-env]# yum install python3-devel
3. 终端显示如下,只需要根据提示键盘输入Y即可