我遇到了类似的问题,而Windows 7的
下在Eclipse(火星2)的调试角度操纵pandas.DataFrame
当试图检查DataFrame
控制台的内容将输出:
tput: unknown terminal "emacs"
而值将显示(pending)
,并且调试会话将永远冻结。
我确定的是,tput
命令确实是一个unix命令通过cygwing运:
D:\smouton>where tput
d:\smouton\cygwin64\bin\tput.exe
我建立的解决办法是推出的Eclipse之前修改PATH
变量。这方便地通过启动下面的批处理文件,而不是Eclipse可执行文件来完成:
REM Remove reference to "unixy" stuff before calling eclipse
REM This avoids 'tput: unknown terminal "emacs"' error when manipulating pandas dataframe
SET PATH=%PATH:;C:\MinGW\bin;d:\smouton\cygwin64\bin;=;%
REM launch eclipse
START "" "C:\Program Files (x86)\Eclipse\eclipse.exe"
该文件只去除PATH C:\MinGW\bin
和d:\smouton\cygwin64\bin
,然后开始蚀。
我想一个类似的解决方法也可以解决与IPython OP的问题。
什么版本的Python和熊猫正在使用?尝试使用pip install --upgrade pandas,并查看修复问题 –
python版本3.5.1。我使用熊猫版本0.17.1。现在升级到0.18.0,仍然收到tput消息。 – blokeley
joblib包导致我有相同的错误 –