Page 1 of 1

Unable to run otatool_example.py

Posted: Fri Oct 29, 2021 7:00 pm
by MaazSk
Hello Everyone,

I am trying OTA example provided by esp-idf when I try to execute
  1. python otatool_example.py --port /dev/ttyUSB0
I get the following error
  1. Traceback (most recent call last):
  2.   File "otatool_example.py", line 118, in <module>
  3.     main()
  4.   File "otatool_example.py", line 52, in main
  5.     from otatool import OtatoolTarget
  6. ImportError: No module named otatool
How to import Otatool?

Thanks in advance