Skip to content

python cannot be found on March 30 release of MSYS #493

Closed
@amatani

Description

@amatani

'make' fails with the 20170330 release of "esp32_win32_environment_and_toolchain-20170330.zip"
$ make /bin/sh: python: command not found make[1]: *** [/c/projects/esp32/esp-idf/components/esptool_py/Makefile.projbuild:49: /c/projects/esp32/myproj/esp-idf-template/build/bootloader/bootloader.bin] Error 127 make: *** [/c/projects/esp32/esp-idf/components/bootloader/Makefile.projbuild:31: /c/projects/esp32/myproj/esp-idf-template/build/bootloader/bootloader.bin] Error 2
Checked for python.exe:
$ which python which: no python in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/opt/xtensa-esp32-elf/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
and path
$ echo $PATH /usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/opt/xtensa-esp32-elf/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
Compared with "esp32_win32_environment_and_toolchain-20170111.zip" release and build completes.
Found the following differences:
$ which python /mingw32/bin/python
and
$ echo $PATH /mingw32/bin:/usr/local/bin:/usr/bin:/bin:/c/windows/system32:/c/windows:/c/windows/system32/wbem:/opt/xtensa-esp32-elf/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
In both cases, using esp-idf v2 release from github

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions