安装模块时,出现报错:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcb in position 68: ordinal not in range(128)
解决方案:
C:\Python27\Lib目录下mimetypes.py中添加
import sys
if sys.getdefaultencoding() != 'gbk':
reload(sys)
sys.setdefaultencoding('gbk')
xiaxiaxia下xia