구름 edu pwntools 오류


  • Level 2

    pwntools을 설치하고 사용하려는데 저런 오류가 뜨고 작동을 안합니다.
    (환경)우분투 18.04LTS
    pwntools 4.7.0
    python 3.7.4
    pip 21.3.1 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)

    File "/usr/local/lib/python3.7/site-packages/pwnlib/term/completer.py", line 7, in <module>
    from pwnlib.term import readline
    File "/usr/local/lib/python3.7/site-packages/pwnlib/term/readline.py", line 10, in <module>
    from pwnlib.term import keymap as km
    File "/usr/local/lib/python3.7/site-packages/pwnlib/term/keymap.py", line 4, in <module>
    from pwnlib.term import key
    File "/usr/local/lib/python3.7/site-packages/pwnlib/term/key.py", line 12, in <module>
    from pwnlib.term import termcap
    File "/usr/local/lib/python3.7/site-packages/pwnlib/term/termcap.py", line 6, in <module>
    from pwnlib.term.unix_termcap import get
    File "/usr/local/lib/python3.7/site-packages/pwnlib/term/unix_termcap.py", line 5, in <module>
    import curses
    File "/usr/local/lib/python3.7/curses/init.py", line 13, in <module>
    from _curses import *
    ModuleNotFoundError: No module named '_curses'