Page 1 of 1

No module named tools.miniterm

Posted: Mon Feb 05, 2018 6:42 am
by chen_chuang
Hi~,
I have built the environment followed by 《ESP-IDF Programming Guide》, and I am running the "hello_world" project on Ubuntu 12.04. I have implemented the command "make flash" successfully, but I failed to implemented the command "make monitor". The error log is as follows:
cc@ubuntu:~/esp/hello_world$ make monitor
MONITOR
Traceback (most recent call last):
File "/home/cc/esp/esp-idf/tools/idf_monitor.py", line 43, in <module>
import serial.tools.miniterm as miniterm
ImportError: No module named tools.miniterm

Re: No module named tools.miniterm

Posted: Mon Feb 05, 2018 6:58 am
by ESP_Angus
Ubuntu 12.04 is end of life now, and it may have quite an old version of pyserial which doesn't included miniterm.

You can follow these steps, as given for 14.04, in order to upgrade to the latest pyserial:
https://esp32.com/viewtopic.php?f=2&t=2 ... 962#p19962