No module named tools.miniterm

chen_chuang
Posts: 2
Joined: Mon Feb 05, 2018 6:00 am

No module named tools.miniterm

Postby chen_chuang » Mon Feb 05, 2018 6:42 am

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

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: No module named tools.miniterm

Postby ESP_Angus » Mon Feb 05, 2018 6:58 am

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

Who is online

Users browsing this forum: No registered users and 94 guests