esp32 example make error

Jihun Kim
Posts: 4
Joined: Tue Jan 17, 2017 12:31 pm

esp32 example make error

Postby Jihun Kim » Tue Jan 17, 2017 12:48 pm

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??

f.h-f.s.
Posts: 216
Joined: Thu Dec 08, 2016 2:53 pm

Re: esp32 example make error

Postby f.h-f.s. » Thu Jan 19, 2017 1:07 pm

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.

Who is online

Users browsing this forum: Baidu [Spider] and 122 guests