Page 1 of 1

esp32 example make error

Posted: Tue Jan 17, 2017 12:48 pm
by Jihun Kim
i unzip esp32_win32_msys2_environment_and_toolchain-20170111.zip to C:\

clone esp-idf to C:/Dev


$ export IDF_PATH="C:/Dev/esp-idf"


& ./windows_install_prerequisites.sh
finish


and i make C:\Dev\esp-idf\examples\get-started\hello_world
& cd /c/Dev/esp-idf/examples/get-started/hello_world
& make

but error

Traceback (most recent call last):
File "C:/Dev/esp-idf/components/esptool_py/esptool/esptool.py", line 24, in <module>
import serial
ImportError: No module named serial
make[1]: *** [/c/Dev/esp-idf/components/esptool_py/Makefile.projbuild:49: /c/Dev/esp-idf/examples/get-started/hello_world/build/bootloader/bootloader.bin] error 1
make: *** [/c/Dev/esp-idf/components/bootloader/Makefile.projbuild:31: /c/Dev/esp-idf/examples/get-started/hello_world/build/bootloader/bootloader.bin] error2

what can i do??

Re: esp32 example make error

Posted: Thu Jan 19, 2017 1:07 pm
by f.h-f.s.
it seems your python is missing python serial package? Needed for uploading the bin to your device.
try
https://www.google.com/search?q=install ... serial+pip
or
https://www.google.com/search?q=install+python+serial
to find information about how to install that missing package.