Closed dreamcmi closed 4 years ago
根据错误提示:ModuleNotFoundError: No module named 'serial'
你未安装serial
Python 模块,百度上面那条信息就能遭到答案。
安装 serial
的方案如下:
pip install pyserial
希望能帮到你!
@dreamcmi 感谢支持! 请参考环境搭建文档:https://axk.coding.net/s/fad28d26-61a5-4efb-8208-a613565c9b4b
错误信息: python3 ../../make/Telink_Tools.py -p /dev/ttyUSB0 burn /home/dreamc/Telink_SIG_Mesh/examples/8258_mesh/out/8258_mesh.bin Pyserial is not installed for /usr/bin/python3. Check the README for installation instructions. Traceback (most recent call last): File "../../make/Telink_Tools.py", line 17, in
import serial
ModuleNotFoundError: No module named 'serial'
../../make/makefile:116: recipe for target 'flash' failed
make: *** [flash] Error 1
确定usb是在ttyusb0,python版本3.6.9 Ubuntu18.04
请问这是哪里出了问题?