fedora安裝S2E時報錯,提示You must install the Python development headers!

 報錯信息如下

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即可

發佈了32 篇原創文章 · 獲贊 5 · 訪問量 2600
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章