Page 1 of 1

Error with make monitor

Posted: Mon Sep 16, 2019 11:58 am
by balix53
Hi,

I followed the getting started for the esp-idf release v3.3.

I can compile and flash via the make command, however monitor does not work. The message I get is:

Code: Select all

$ make monitor
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
Python requirements from C:/Users/balix/esp-idf/requirements.txt are satisfied.
MONITOR
winpty: error: cannot start 'python': Not found in PATH
I tried the following as listed in known issues (https://docs.espressif.com/projects/esp ... on-windows):
- reinstalling winpty
- using simple_monitor

These two solutions do not work either. I still have the same issue.

I can call python from the shell and which python returns /mingw32/bin/python. So I assume that my PATH should be correct ? Otherwise I do not understand how winpty cannot found it.

Re: Error with make monitor

Posted: Mon Sep 23, 2019 8:38 am
by balix53
I managed to work around this issue by reinstalling my toolchain.