摘要: python在安装时,默认的编码是ascii,当程序中出现非ascii编码时,python的处理常常会报这样的错UnicodeDecodeError: 'ascii' codec can't decode byte 0x?? in position 1: ordinal not in range(1... 阅读全文
posted @ 2014-12-03 21:18 ggjjl1 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 错误信息:[root@aliyun /]# yumThere was a problem importing one of the Python modulesrequired to run yum. The error leading to this problem was: No modul... 阅读全文
posted @ 2014-12-03 09:30 ggjjl1 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 由于aliyun上面centos6.4系统默认的python版本是python2.6.6,无法满足需求,决定升级到python2.7。Python官网上面有两个版本python3.4.x和python2.7.x。由于绝大多数开发python2.7已满足需求,所以我这里采用的是python2.7.8。... 阅读全文
posted @ 2014-12-03 08:55 ggjjl1 阅读(321) 评论(0) 推荐(0) 编辑