安装Python出现LookupError: unknown encoding: GB2312错误的解决方法

在Linux源码安装Python的时候,有可能会遇到LookupError: unknown encoding: GB2312错误,这里介绍两种解决方法:编码 方法一:源码 这是因为编码的缘由,在./configure以前设置字符集:coding 1.export LANG=zh_CH.UTF-8方法 2.export LANGUAGE=zh_CH.UTF-8di   方法二:字符集 在./con
相关文章
相关标签/搜索