问题描述 import os os.system('clear') 出现:TERM environment variable not set 解决方案 Open “Run/Debug configuration” and add an environment variable “TERM=xterm-color”