UnicodeDecodeError: 'gbk' codec can't decode byte 0xfc in position 4724: illegal
G:\python3.6.3\python.exe "F:/新建文件夹 (2)/情感分析/4.py"
Building prefix dict from the default dictionary ...
Loading model from cache C:\Users\ADMINI~1\AppData\Local\Temp\jieba.cache
Loading model cost 0.912 seconds.
Prefix dict has been built succesfully.
Traceback (most recent call last):
File "F:/新建文件夹 (2)/情感分析/4.py", line 107, in <module>
text = f.readline()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xfc in position 4724: illegal multibyte sequence
Process finished with exit code 1
python运行一半就遇到这个问题,求大神指导~~(指明打开文件的编码方式、改变文件路径的方法都试过了没用啊)