安装环境:esp-idf4.3
问题:简单进行mqtt测试,测试例程examples\protocols\mqtt\tcp,需要使用mqtt服务器,但官方代码:
Code: Select all
mqtt_tcp_example_test.py
Code: Select all
python mqtt_tcp_example_test.py
Code: Select all
PS C:\Users\HXHA003\Desktop\esp-idf-2\my_work\mqtt\tcp> python mqtt_tcp_example_test.py
Traceback (most recent call last):
File "mqtt_tcp_example_test.py", line 9, in <module>
import ttfw_idf
ModuleNotFoundError: No module named 'ttfw_idf'
想问下这个python文件要怎样配合程序运行?