
python的错误总结
liuxingyu_21
这个作者很懒,什么都没留下…
展开
-
python TypeError
代码如下 #!/usr/bin/python #coding:utf-8 class A(): def __init__(self,a,b): self.a = a self.b = b print self.a print self.b class B(A): def __init__(self,m,g原创 2014-01-03 18:01:04 · 1623 阅读 · 0 评论 -
error: Setup script exited with error: command 'gcc' failed with exit status 1
在安装image模块的时候总是出现这个错误 error: Setup script exited with error: command 'gcc' failed with exit status 1 解决方法: 安装下列插件试试 yum -y install gcc python27-devel libxml2 libxml2-devel libxslt libxslt-d原创 2014-01-17 17:17:08 · 5778 阅读 · 0 评论 -
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
今天安装了PyScripter编辑器,刚要写代码,突然就baochu原创 2014-05-29 09:32:58 · 4042 阅读 · 1 评论