#author("2022-10-23T12:52:36+08:00","default:Admin","Admin") #author("2022-10-23T12:55:24+08:00","default:Admin","Admin") [[Matter]] &color(red){※文章基于 ESP32-S 芯片说明}; #contents * 下载 [#v0448bf2] https://github.com/espressif/esp-matter.git 因为文件非常大(我下载后接近 22G),鉴于网速不是很好,下载过程中经常会出现 fatal: unable to access 失败的情况 git submodule update --init --recursive 详细参考[[Git问题排除>Git#q3a8afa4]] * 安装 [#cdbbd463] ** 问题排除 [#y0e4d765] ** UnicodeEncodeError: 'gbk' codec can't encode character '\u2592' in position 12: illegal multibyte sequence [#tdc4c9d8] 第一行加上 文件开始加上 #codeprettify{{ #-*-coding:gb2312-*- import io import sys sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf8') }} 开始加上 网上有人说下面的环境设置命令好用,但是我这里不行 set PYTHONUTF8=1 ** SyntaxError: Non-UTF-8 code starting with ‘\xb8‘ in file [#k7db3b78] 第一行加上 #codeprettify{{ import io import sys sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf8') #-*-coding:gb2312-*- }} &ref(ZigBee_体系结构.png); #hr(); コメント: #comment_kcaptcha