运行python文件时出现分段错误错误。追踪我的代码
python -m trace --trace file.py
我得到了这个输出:
--- modulename: connections, funcname: set_character_set
connections.py(292): if self.character_set_name() != charset:
connections.py(293): try:
connections.py(294): super(Connection,self).set_character_set(charset)
Segmentation fault
你能帮帮我吗?
其他python文件正确运行!