UnicodeEncodeError: 'ascii' codec can't encode characters in positio// 检查编码>>> import sys>>> sys.getdefaultencoding()'ascii'>>> // 在main里面,设置编码为 utf-8def main(): # prep
// wget[root@wode006 tools]# wget https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.5.zip--2015-07-05 02:02:51-- https://pypi.python.org/packages/source/M/MySQL-python/MySQ
推荐使用 #!/usr/bin/python # -*- coding: utf-8 -*-引用 http://legac
// wget pip[root@wode003 tools]# wget https://bootstrap.pypa.io/get-pip.py--2015-06-25 14:40:46-- https://bootstrap.pypa.io/get-pip.py正在解析主机 bootstrap.pypa.io (bootstrap.pypa.io)... 103.245.222.
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号