sublime Text 3:Fatal pylint error -unicodedecodeError
来源:互联网 发布:网络语鹅是什么意思 编辑:程序博客网 时间:2024/06/04 19:19
一 . 问题
在sublime Text3中编辑python后进行保存,弹出
二 . 原因
存储代码的目录中存在中文,将中文变为英文进行保存就不会在出现了。
三 . 问题解决
1)进入sublime text的安装目录,我的是“D:\Program Files\Sublime Text 3“;
2)找到sublime_plugin.py文件并打开;
3)在import下面添加
import ...#加入下面两行reload(sys) sys.setdefaultencoding('gbk') ...
4)重启后就可以啦。
阅读全文
0 0
- sublime Text 3:Fatal pylint error -unicodedecodeError
- sublime text 2 build UnicodeDecodeError
- Sublime text 3 [Decode error
- Sublime Text 2 SFTP UnicodeDecodeError错误!
- Sublime Text 2/3 [Decode error - output not utf-8]
- Python 使用 Sublime text 3 运行报错 [Decode error
- sublime text 3
- Sublime text 3快捷键
- Sublime Text 3
- sublime text 3 序列号
- Sublime Text 3 配置
- Sublime Text 3 使用
- Sublime Text 3 快捷键
- Sublime Text 3 license
- sublime text 3
- 工具--sublime text 3
- Sublime Text 3 笔记
- Sublime Text 3 入门
- isEmpty判断是否为空
- 关于在JQ中链接后面加参数
- 深入理解异常处理机制的处理方式
- 二进制数的编码表示
- 解决ImportError DLL load failed的问题(python)
- sublime Text 3:Fatal pylint error -unicodedecodeError
- DES ECB模式JAVA PHP C#实现加密、解密兼容
- RS-232、RS-422与RS-485标准及应用
- i2c底层数据传输解析之RTC实时时钟
- 如何选择合适的机器算法解决问题
- 34. Search for a Range
- 文章标题
- 3DSlicer7:FAQ-1
- Verilog运算符优先级