I am getting a red message every time I use the console from the debugger and try to see the output of a pandas object
"tput: terminal attributes: No such device or address"
I am using PyCharm 2016.3.2 and according to me I didn't update anything - it just started to appear all of a sudden. I attach a screenshot of the debugger with info on my ipython and debugger versions. Would appreciate your help to understand how to get rid of this message. It seems to appear both in the Python Console and Debugger Console, but not in the PyCharm Terminal. Thanks.
There is a workaround inside PyCharm itself without affecting the rest of the system:
You can hard code PATH as part of Environment set up under this menu:
import os, re; print ';'.join([p for p in os.getenv('PATH').split(';') if not re.search('Git', p)])
Another workaround is to simply move tput
to a different cygwin PATH
directory,
e.g. if tput
is in ~/git-for-windows/usr/bin
, and the same directory is in the windows PATH, moving tput.exe to ~/git-for-windows/usr/local/bin
will fix the issue in pycharm and still work within cygwin
Have you installed git or cygwin recently? If so, try to delete git or cygwin related paths from system environment variable PATH. If had the same problem as you and now have fixed it by doing so.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With