esp32 example make error
Posted: 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??
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??