SyntaxError: Non-ASCII character '\xe6' in file tensorflow.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
存在非ASCII码表示的文字,如中文等,在文件头添加 UTF-8编码识别中文
#_*_coding: utf-8 _*_
SyntaxError: Non-ASCII character '\xe6' in file tensorflow.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
存在非ASCII码表示的文字,如中文等,在文件头添加 UTF-8编码识别中文
#_*_coding: utf-8 _*_
本文标题:SyntaxError: Non-ASCII character
本文链接:https://www.haomeiwen.com/subject/ndfcbftx.html
网友评论