SyntaxError: Non-UTF-8 code starting with '\xbd' in file start.py on line 1 #1576
Replies: 3 comments 1 reply
-
这个问题会在下一个版本中解决,可以使用下面调试版本验证 |
Beta Was this translation helpful? Give feedback.
-
请查看文档了解加密脚本 |
Beta Was this translation helpful? Give feedback.
-
8.4.3 偿试去掉加密命令中参数i,加密后的各级目录中的.py文件,from后面都没有点.,再将pyarmor_runtime_006064拷进来,运行正常。 请问是什么原因? |
Beta Was this translation helpful? Give feedback.
-
项目用pyarmor加密后再运行,出现SyntaxError: Non-UTF-8 code starting with '\xbd' in file start.py on line 1错误。
加密前项目中的.py文件都是utf-8,加密后都变在了GB2312.
pyarmor cfg encoding
Global settings,Local settings 都是utf-8
运行的详细错误如下,请问要怎样处理?
(venv) F:\PythonPublicStation\InstallQcFrame\QcFrame>python start.py
File "start.py", line 1
SyntaxError: Non-UTF-8 code starting with '\xbd' in file start.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Beta Was this translation helpful? Give feedback.
All reactions