VSCode idf插件升级到0.6.0的问题
Posted: Mon Jan 11, 2021 2:01 pm
VSCode IDF插件升级到0.6.0后Monitor无法串口打印,退回到0.5.1后可正常打印,第一次点击出现如下的提示:
第二次点击出现如下的提示:
- Windows PowerShell
- 版权所有 (C) Microsoft Corporation。保留所有权利。
- 尝试新的跨平台 PowerShell https://aka.ms/pscore6
- PS D:\SelfSoftware\ESP32\UserProject\wear_levelling> $Env:Path = "
- >> $Env:IDF_PATH = "
- PS D:\SelfSoftware\ESP32\UserProject\wear_levelling> $Env:IDF_TARGET = "
- >> $Env:PYTHON = "
- PS D:\SelfSoftware\ESP32\UserProject\wear_levelling> $Env:IDF_PYTHON_ENV_PATH = "
- >> cls
- >> d:\SelfSoftware\ESP32\ESP_IDFTools\python_env\idf4.3_py3.9_env\Scripts\python.exe d:\SelfSoftware\ESP32\IDF_Master\esp-idf\tools\idf.py -p COM3 monitor
- >>
- 版权所有 (C) Microsoft Corporation。保留所有权利。
- 尝试新的跨平台 PowerShell https://aka.ms/pscore6
- PS D:\SelfSoftware\ESP32\UserProject\wear_levelling> d:\SelfSoftware\ESP32\ESP_IDFTools\python_env\idf4.3_py3.9_env\Scripts\python.exe d:\SelfSoftware\ESP32\IDF_Master\esp-idf\tools\idf.py -p COM3 monitor
- Traceback (most recent call last):
- File "d:\SelfSoftware\ESP32\IDF_Master\esp-idf\tools\idf.py", line 805, in <module>
- main()
- File "d:\SelfSoftware\ESP32\IDF_Master\esp-idf\tools\idf.py", line 720, in main
- checks_output = check_environment()
- File "d:\SelfSoftware\ESP32\IDF_Master\esp-idf\tools\idf.py", line 77, in check_environment
- debug_print_idf_version()
- File "d:\SelfSoftware\ESP32\IDF_Master\esp-idf\tools\idf.py", line 126, in debug_print_idf_version
- version = idf_version()
- File "d:\SelfSoftware\ESP32\IDF_Master\esp-idf\tools\idf_py_actions\tools.py", line 54, in idf_version
- version = subprocess.check_output([
- File "C:\Users\ZLF\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 420, in check_output
- return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
- File "C:\Users\ZLF\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 501, in run
- with Popen(*popenargs, **kwargs) as process:
- File "C:\Users\ZLF\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 947, in __init__
- self._execute_child(args, executable, preexec_fn, close_fds,
- File "C:\Users\ZLF\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1416, in _execute_child
- hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
- FileNotFoundError: [WinError 2] 系统找不到指定的文件。
- PS D:\SelfSoftware\ESP32\UserProject\wear_levelling>