eclipse_make.py error
Posted: Tue May 15, 2018 7:19 am
Hello, and please accept my apologies if the solution is obvious. I am compiling my first program under eclipse for the ESP32 and I got the following error:
00:10:29 **** Incremental Build of configuration Default for project main1 ****
bash C:/msys32/home/Caio.Gubel/esp-idf/tools/windows/eclipse_make.py all
C:/msys32/home/Caio.Gubel/esp-idf/tools/windows/eclipse_make.py: line 6: import: command not found
C:/msys32/home/Caio.Gubel/esp-idf/tools/windows/eclipse_make.py: line 8: syntax error near unexpected token `('
C:/msys32/home/Caio.Gubel/esp-idf/tools/windows/eclipse_make.py: line 8: `UNIX_PATH_RE = re.compile(r'(/[^ \'"]+)+')'
00:10:30 Build Finished (took 245ms)
I checked and the lines referred in the errors are:
from __future__ import print_function, division
import sys, subprocess, os.path, re
UNIX_PATH_RE = re.compile(r'(/[^ \'"]+)+')
Any help is very welcome.
C.
00:10:29 **** Incremental Build of configuration Default for project main1 ****
bash C:/msys32/home/Caio.Gubel/esp-idf/tools/windows/eclipse_make.py all
C:/msys32/home/Caio.Gubel/esp-idf/tools/windows/eclipse_make.py: line 6: import: command not found
C:/msys32/home/Caio.Gubel/esp-idf/tools/windows/eclipse_make.py: line 8: syntax error near unexpected token `('
C:/msys32/home/Caio.Gubel/esp-idf/tools/windows/eclipse_make.py: line 8: `UNIX_PATH_RE = re.compile(r'(/[^ \'"]+)+')'
00:10:30 Build Finished (took 245ms)
I checked and the lines referred in the errors are:
from __future__ import print_function, division
import sys, subprocess, os.path, re
UNIX_PATH_RE = re.compile(r'(/[^ \'"]+)+')
Any help is very welcome.
C.