Code: Select all
G:\esp32_apps\blink>set IDF_PATH=G:\esp_vsc\esp-idf
G:\esp32_apps\blink>G:\esp_vsc\.espressif\python_env\idf3.3_py3.8_env\Scripts\python.exe G:\esp_vsc\esp-idf\tools\idf.py -p COM7 monitor
Traceback (most recent call last):
File "G:\esp_vsc\esp-idf\tools\idf.py", line 635, in <module>
if ('MSYSTEM' in os.environ) and (not os.environ['_'].endswith(WINPTY_EXE) and WINPTY_VAR not in os.environ):
File "G:\python38\lib\os.py", line 673, in __getitem__
raise KeyError(key) from None
KeyError: '_'