I'm using python curses and developing under PyCharm. but whatever a simple curses program, it always gives me such an exception. what i had tried were:
- add export
TERM="xterm-256color"
and exportTERMINFO="/usr/share/terminfo"
, but there was still appeared such exception:_curses.error: setupterm: could not find terminfo database
(useless) - add such TERM environment variable into PyCharm run configuration like this way,but still ran failed, here is configuration screen capture: