TERM environment variable not set on Python
To avoid this warning when you try clear your console through os.system('clear') on linux, you must configure TERM variable on your environment with "xterm-color" value. In Pycharm, you can add it on File/Settings.../Build, Execution, Deployment/ Console/Python Console Enjoy it!