1.SyntaxError: Non-ASCII character '\xe5' in file test-graph.py on line 5 错误原因:编码格式有问题 改正:加入# -*- coding: UTF-8 -*- 2.