1. Non-ASCII character ‘\xb6’ 报错截图 解决办法 在py文件第一行增加:#-*- coding: UTF-8 -*- 2. unexpected indent 报错截图 解决办法 python依靠indent来缩进。要么全部用空格缩进,要么全部tab键。 用有些编辑器可以显示tab和空格的。 另外,最好不要放到带中文的目录下,防止出问题。 3. global name ‘rnn_reader’ is not defined 报错截图