我运行的是 OS X 10.10.5。我在尝试打开终端时遇到错误:
tput:未知终端“xterm-256color”
这显然是一个缺少的 termcap 条目。
$ port list ncurses
ncurses @6.0 devel/ncurses
关于如何在 OS X 上安装“ncurses-term”有什么想法吗?
$ sudo port install ncurses-term
Password:
Error: Port ncurses-term not found
最佳答案
问题出在 Anaconda 包上:
https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/XKMFYqM12Vg
早期版本的 ncurses 包似乎有一些问题会干扰 terminfo
conda install -c r ncurses
关于ncurses - 输出 : unknown terminal "xterm-256color",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32798940/