请问是群晖DSM系统吗?
---是的
头部的export PYTHONIOENCODING=UTF-8加了吗?
---有加的
如果加了还是不行试试改为export PYTHONIOENCODING=GBK
---试了也不行
英文版回退试试
File "/volume1/\udce7\udca7\udcbb\udce5\udc8a\udca8\udce7\udca1\udcac\udce7\udc9b\udc98/xps/aliddns.py", line 88
SyntaxError: Non-UTF-8 code starting with '\xb2' in file /volume1/\udce7\udca7\udcbb\udce5\udc8a\udca8\udce7\udca1\udcac\udce7\udc9b\udc98/xps/aliddns.py on line 88, but no encoding declared; see
这样提示
export PYTHONIOENCODING=UTF-8
python3 /volume1/移动硬盘/xps/aliddns.py ipv6 域名 AAAA
请问设置对吗?
File "/volume1/\udce7\udca7\udcbb\udce5\udc8a\udca8\udce7\udca1\udcac\udce7\udc9b\udc98/xps/aliddns.py", line 88
SyntaxError: Non-UTF-8 code starting with '\xb2' in file /volume1/\udce7\udca7\udcbb\udce5\udc8a\udca8\udce7\udca1\udcac\udce7\udc9b\udc98/xps/aliddns.py on line 88, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
不行啊,麻烦帮忙看看哪里问题
关注数量超出限制,
请先删除部分内容再尝试