ESP-IDF Monitor device

XLstone
Posts: 2
Joined: Sun Jan 17, 2021 5:04 am

ESP-IDF Monitor device

Postby XLstone » Sun Jan 17, 2021 5:09 am

PS D:\ESP_IDF\examples\get-started\hello_world> $Env:Path = "
>> $Env:IDF_PATH = "
PS D:\ESP_IDF\examples\get-started\hello_world> $Env:IDF_TARGET = "
>> $Env:PYTHON = "
PS D:\ESP_IDF\examples\get-started\hello_world> $Env:IDF_PYTHON_ENV_PATH = "
>> cls
>> D:\.espressif\.espressif\python_env\idf4.1_py3.8_env\Scripts\python.exe d:\ESP_IDF\tools\idf.py -p COM3 monitor

PS D:\ESP_IDF\examples\get-started\hello_world> D:\.espressif\.espressif\python_env\idf4.1_py3.8_env\Scripts\python.exe d:\ESP_IDF\tools\idf.py -p COM3 monitor
Traceback (most recent call last):
File "d:\ESP_IDF\tools\idf.py", line 775, in <module>
main()
File "d:\ESP_IDF\tools\idf.py", line 691, in main
checks_output = check_environment()
File "d:\ESP_IDF\tools\idf.py", line 64, in check_environment
print_idf_version()
File "d:\ESP_IDF\tools\idf.py", line 113, in print_idf_version
version = idf_version()
version = subprocess.check_output([
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "D:\Anaconda\lib\subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
self._execute_child(args, executable, preexec_fn, close_fds,
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
PS D:\ESP_IDF\examples\get-started\hello_world> D:\.espressif\.espressif\python_env\idf4.1_py3.8_env\Scripts\python.exe d:\ESP_IDF\tools\idf.py -p COM3 monitor
Traceback (most recent call last):
File "d:\ESP_IDF\tools\idf.py", line 775, in <module>
main()
File "d:\ESP_IDF\tools\idf.py", line 691, in main
checks_output = check_environment()
File "d:\ESP_IDF\tools\idf.py", line 64, in check_environment
print_idf_version()
File "d:\ESP_IDF\tools\idf.py", line 113, in print_idf_version
version = idf_version()
version = subprocess.check_output([
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "D:\Anaconda\lib\subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
self._execute_child(args, executable, preexec_fn, close_fds,
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
PS D:\ESP_IDF\examples\get-started\hello_world> D:\.espressif\.espressif\python_env\idf4.1_py3.8_env\Scripts\python.exe d:\ESP_IDF\tools\idf.py -p COM3 monitor
Traceback (most recent call last):
File "d:\ESP_IDF\tools\idf.py", line 775, in <module>
main()
File "d:\ESP_IDF\tools\idf.py", line 691, in main
checks_output = check_environment()
File "d:\ESP_IDF\tools\idf.py", line 64, in check_environment
print_idf_version()
File "d:\ESP_IDF\tools\idf.py", line 113, in print_idf_version
version = idf_version()
version = subprocess.check_output([
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "D:\Anaconda\lib\subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
self._execute_child(args, executable, preexec_fn, close_fds,
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
PS D:\ESP_IDF\examples\get-started\hello_world> D:\.espressif\.espressif\python_env\idf4.1_py3.8_env\Scripts\python.exe d:\ESP_IDF\tools\idf.py -p COM3 monitor
Traceback (most recent call last):
File "d:\ESP_IDF\tools\idf.py", line 775, in <module>
main()
File "d:\ESP_IDF\tools\idf.py", line 691, in main
checks_output = check_environment()
File "d:\ESP_IDF\tools\idf.py", line 64, in check_environment
print_idf_version()
File "d:\ESP_IDF\tools\idf.py", line 113, in print_idf_version
version = idf_version()
File "d:\ESP_IDF\tools\idf_py_actions\tools.py", line 53, in idf_version
version = subprocess.check_output([
File "D:\Anaconda\lib\subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "D:\Anaconda\lib\subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "D:\Anaconda\lib\subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\Anaconda\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
PS D:\ESP_IDF\examples\get-started\hello_world>

dym.kyiv
Posts: 2
Joined: Sun Jan 17, 2021 6:34 pm

Re: ESP-IDF Monitor device

Postby dym.kyiv » Sun Jan 17, 2021 6:43 pm

There is away to fix it.
Go to VSCode Setting by Ctrl + ,
Type Terminal into Search box terminal.integrated.shell.windows
and edit settings.json file by adding a line "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe"
after that restart VSCode and try to Monitor your device

Who is online

Users browsing this forum: Google [Bot] and 139 guests