在python 2.7中导入第三方模块时出现Unicode问题

时间:2018-08-17 13:00:15

标签: python-2.7 encoding

尝试dsJoin.groupBy("transID").agg(functions.max("subSeq"),functions.first("principal")).show(); 进入python shell时出现以下错误:

enter image description here

我已尝试像其他来源中所建议的那样,将import nltk添加到上述脚本中,但没有帮助。

0 个答案:

没有答案