标签:s/4 dede nal def err position pos nec range
参考资料:https://stackoverflow.com/questions/40359272/nltk-unicodedecodeerror-connected-with-the-ntpath-py-file
#another way
reload(sys)
sys.setdefaultencoding(‘GBK‘)
1、修改文件
2、删掉.pyc 文件
3.重新执行
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)
标签:s/4 dede nal def err position pos nec range
原文地址:https://www.cnblogs.com/whats/p/9003093.html