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!

Comments

Popular posts from this blog

How to fix Android when developer options are not available for this user

Exception: Could not find a default OpenFlow controller in Mininet

v4l2: open /dev/video0: Permission denied