tput:未知的终端"xterm-256color"; [英] tput: unknown terminal "xterm-256color"
本文介绍了tput:未知的终端"xterm-256color";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在运行OS X 10.10.5.尝试打开终端时出现错误:
I'm running OS X 10.10.5. I'm getting an error trying to open a terminal:
tput:未知终端"xterm-256color"
tput: unknown terminal "xterm-256color"
这显然是缺少termcap条目.
This is obviously a missing termcap entry.
$ port list ncurses
ncurses @6.0 devel/ncurses
有什么想法如何在OS X上安装'ncurses-term'吗?
Any ideas how to install 'ncurses-term' on OS X?
$ sudo port install ncurses-term
Password:
Error: Port ncurses-term not found
推荐答案
问题在于Anaconda软件包:
The problem was with an Anaconda package:
https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/XKMFYqM12Vg
ncurses软件包的早期版本似乎存在一些问题,这会干扰terminfo
It appears there is some problem with an earlier version of the ncurses package that interferes with terminfo
conda install -c r ncurses
这篇关于tput:未知的终端"xterm-256color";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文