VS Code IDF Onboarding (IDF Tools Install Error)

timmcarson
Posts: 1
Joined: Sun Dec 13, 2020 7:21 pm

VS Code IDF Onboarding (IDF Tools Install Error)

Postby timmcarson » Sun Dec 13, 2020 7:48 pm

I am trying to install The ESP-IDF extension using the Onboarding Configuration Tool

Windows 10
Python 3.9.1
git version 2.29.2.windows.3

I get as far as the IDF Tools "page". After installing the tools, the "Go to next step" button does not appear.

The output gives this

Code: Select all

Collecting wheel
  Downloading wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel
Successfully installed wheel-0.36.2
WARNING: You are using pip version 20.2.3; however, version 20.3.1 is available.
You should consider upgrading via the 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe -m pip install --upgrade pip' command.
Collecting wheel
  Downloading wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel
Successfully installed wheel-0.36.2
WARNING: You are using pip version 20.2.3; however, version 20.3.1 is available.
You should consider upgrading via the 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe -m pip install --upgrade pip' command.


Processing c:\users\timothy\esp-idf\tools\kconfig_new\esp-windows-curses
Requirement already satisfied: setuptools>=21 in c:\users\timothy\esp-idf\python_env\idf4.1_py3.9_env\lib\site-packages (from -r C:\Users\Timothy\esp-idf\requirements.txt (line 4)) (49.2.1)
Collecting click>=5.0
  Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting pyserial>=3.0
  Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Processing c:\users\timothy\appdata\local\pip\cache\wheels\2f\a0\d3\4030d9f80e6b3be787f19fc911b8e7aa462986a40ab1e4bb94\future-0.18.2-py3-none-any.whl
Collecting cryptography>=2.1.4
  Using cached cryptography-3.3.1-cp36-abi3-win_amd64.whl (1.5 MB)
Collecting pyparsing<2.4.0,>=2.0.3
  Using cached pyparsing-2.3.1-py2.py3-none-any.whl (61 kB)
Collecting pyelftools>=0.22
  Using cached pyelftools-0.27-py2.py3-none-any.whl (151 kB)
Collecting windows-curses
  Using cached windows_curses-2.2.0-cp39-cp39-win_amd64.whl (88 kB)
Collecting cffi>=1.12
  Using cached cffi-1.14.4-cp39-cp39-win_amd64.whl (179 kB)
Collecting six>=1.4.1
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting pycparser
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Building wheels for collected packages: esp-windows-curses
  Building wheel for esp-windows-curses (setup.py): started
  Building wheel for esp-windows-curses (setup.py): finished with status 'done'
  Created wheel for esp-windows-curses: filename=esp_windows_curses-0.1-py3-none-any.whl size=1170 sha256=4f1958b29e01990ad16acba41a0e7bb028cef888d4842b901544380fea59ece4
  Stored in directory: c:\users\timothy\appdata\local\pip\cache\wheels\8f\5c\28\ae20dee597c0491167bd5a72d35b9f6dc29a3c7d04166c5457
Successfully built esp-windows-curses
Installing collected packages: click, pyserial, future, pycparser, cffi, six, cryptography, pyparsing, pyelftools, windows-curses, esp-windows-curses
Successfully installed cffi-1.14.4 click-7.1.2 cryptography-3.3.1 esp-windows-curses-0.1 future-0.18.2 pycparser-2.20 pyelftools-0.27 pyparsing-2.3.1 pyserial-3.5 six-1.15.0 windows-curses-2.2.0
WARNING: You are using pip version 20.2.3; however, version 20.3.1 is available.
You should consider upgrading via the 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe -m pip install --upgrade pip' command.
Processing c:\users\timothy\esp-idf\tools\kconfig_new\esp-windows-curses
Requirement already satisfied: setuptools>=21 in c:\users\timothy\esp-idf\python_env\idf4.1_py3.9_env\lib\site-packages (from -r C:\Users\Timothy\esp-idf\requirements.txt (line 4)) (49.2.1)
Collecting click>=5.0
  Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting pyserial>=3.0
  Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Processing c:\users\timothy\appdata\local\pip\cache\wheels\2f\a0\d3\4030d9f80e6b3be787f19fc911b8e7aa462986a40ab1e4bb94\future-0.18.2-py3-none-any.whl
Collecting cryptography>=2.1.4
  Using cached cryptography-3.3.1-cp36-abi3-win_amd64.whl (1.5 MB)
Collecting pyparsing<2.4.0,>=2.0.3
  Using cached pyparsing-2.3.1-py2.py3-none-any.whl (61 kB)
Collecting pyelftools>=0.22
  Using cached pyelftools-0.27-py2.py3-none-any.whl (151 kB)
Collecting windows-curses
  Using cached windows_curses-2.2.0-cp39-cp39-win_amd64.whl (88 kB)
Collecting cffi>=1.12
  Using cached cffi-1.14.4-cp39-cp39-win_amd64.whl (179 kB)
Collecting six>=1.4.1
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting pycparser
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Building wheels for collected packages: esp-windows-curses
  Building wheel for esp-windows-curses (setup.py): started
  Building wheel for esp-windows-curses (setup.py): finished with status 'done'
  Created wheel for esp-windows-curses: filename=esp_windows_curses-0.1-py3-none-any.whl size=1170 sha256=4f1958b29e01990ad16acba41a0e7bb028cef888d4842b901544380fea59ece4
  Stored in directory: c:\users\timothy\appdata\local\pip\cache\wheels\8f\5c\28\ae20dee597c0491167bd5a72d35b9f6dc29a3c7d04166c5457
Successfully built esp-windows-curses
Installing collected packages: click, pyserial, future, pycparser, cffi, six, cryptography, pyparsing, pyelftools, windows-curses, esp-windows-curses
Successfully installed cffi-1.14.4 click-7.1.2 cryptography-3.3.1 esp-windows-curses-0.1 future-0.18.2 pycparser-2.20 pyelftools-0.27 pyparsing-2.3.1 pyserial-3.5 six-1.15.0 windows-curses-2.2.0
WARNING: You are using pip version 20.2.3; however, version 20.3.1 is available.
You should consider upgrading via the 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe -m pip install --upgrade pip' command.


Requirement already satisfied: click in c:\users\timothy\esp-idf\python_env\idf4.1_py3.9_env\lib\site-packages (from -r c:\Users\Timothy\.vscode\extensions\espressif.esp-idf-extension-0.5.1\esp_debug_adapter\requirements.txt (line 1)) (7.1.2)
Collecting psutil>=5.5.1
  Using cached psutil-5.7.3.tar.gz (465 kB)
Collecting pygdbmi<=0.9.0.2
  Using cached pygdbmi-0.9.0.2-py3-none-any.whl (16 kB)
Collecting requests>=2.21.0
  Using cached requests-2.25.0-py2.py3-none-any.whl (61 kB)
Processing c:\users\timothy\appdata\local\pip\cache\wheels\fa\17\1f\332799f975d1b2d7f9b3f33bbccf65031e794717d24432caee\typing-3.7.4.3-py3-none-any.whl
Processing c:\users\timothy\appdata\local\pip\cache\wheels\c0\1c\a1\b05ae749aa485a55d20886d4973333f3f83db8969ccc9c36b4\xmlrunner-1.7.7-py3-none-any.whl
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.2-py2.py3-none-any.whl (136 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
Collecting idna<3,>=2.5
  Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Building wheels for collected packages: psutil
  Building wheel for psutil (setup.py): started
  Building wheel for psutil (setup.py): finished with status 'error'
  Running setup.py clean for psutil
Failed to build psutil
Installing collected packages: psutil, pygdbmi, urllib3, certifi, idna, chardet, requests, typing, xmlrunner
    Running setup.py install for psutil: started
    Running setup.py install for psutil: finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"'; __file__='"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Timothy\AppData\Local\Temp\pip-wheel-7l5e02m3'
       cwd: C:\Users\Timothy\AppData\Local\Temp\pip-install-fg6oaha2\psutil\
  Complete output (39 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.9
  creating build\lib.win-amd64-3.9\psutil
  copying psutil\_common.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_compat.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_psaix.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_psbsd.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_pslinux.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_psosx.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_psposix.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_pssunos.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_pswindows.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\__init__.py -> build\lib.win-amd64-3.9\psutil
  creating build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\runner.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_aix.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_bsd.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_connections.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_contracts.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_linux.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_memleaks.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_misc.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_osx.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_posix.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_process.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_sunos.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_system.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_testutils.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_unicode.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_windows.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\__init__.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\__main__.py -> build\lib.win-amd64-3.9\psutil\tests
  running build_ext
  building 'psutil._psutil_windows' extension
  VisualStudio is not installed; get it from http://www.visualstudio.com/en-au/news/vs2015-preview-vs
  error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
  ----------------------------------------
  ERROR: Failed building wheel for psutil
    ERROR: Command errored out with exit status 1:
     command: 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"'; __file__='"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Timothy\AppData\Local\Temp\pip-record-8nuv1ain\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\include\site\python3.9\psutil'
         cwd: C:\Users\Timothy\AppData\Local\Temp\pip-install-fg6oaha2\psutil\
    Complete output (39 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.9
    creating build\lib.win-amd64-3.9\psutil
    copying psutil\_common.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_compat.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_psaix.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_psbsd.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_pslinux.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_psosx.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_psposix.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_pssunos.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_pswindows.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\__init__.py -> build\lib.win-amd64-3.9\psutil
    creating build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\runner.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_aix.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_bsd.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_connections.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_contracts.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_linux.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_memleaks.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_misc.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_osx.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_posix.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_process.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_sunos.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_system.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_testutils.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_unicode.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_windows.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\__init__.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\__main__.py -> build\lib.win-amd64-3.9\psutil\tests
    running build_ext
    building 'psutil._psutil_windows' extension
    VisualStudio is not installed; get it from http://www.visualstudio.com/en-au/news/vs2015-preview-vs
    error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"'; __file__='"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Timothy\AppData\Local\Temp\pip-record-8nuv1ain\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\include\site\python3.9\psutil' Check the logs for full command output.
WARNING: You are using pip version 20.2.3; however, version 20.3.1 is available.
You should consider upgrading via the 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe -m pip install --upgrade pip' command.
Command failed: "c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe" -m pip install -r "c:\Users\Timothy\.vscode\extensions\espressif.esp-idf-extension-0.5.1\esp_debug_adapter\requirements.txt"
  ERROR: Command errored out with exit status 1:
   command: 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"'; __file__='"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Timothy\AppData\Local\Temp\pip-wheel-7l5e02m3'
       cwd: C:\Users\Timothy\AppData\Local\Temp\pip-install-fg6oaha2\psutil\
  Complete output (39 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.9
  creating build\lib.win-amd64-3.9\psutil
  copying psutil\_common.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_compat.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_psaix.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_psbsd.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_pslinux.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_psosx.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_psposix.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_pssunos.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_pswindows.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\__init__.py -> build\lib.win-amd64-3.9\psutil
  creating build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\runner.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_aix.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_bsd.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_connections.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_contracts.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_linux.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_memleaks.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_misc.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_osx.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_posix.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_process.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_sunos.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_system.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_testutils.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_unicode.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_windows.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\__init__.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\__main__.py -> build\lib.win-amd64-3.9\psutil\tests
  running build_ext
  building 'psutil._psutil_windows' extension
  VisualStudio is not installed; get it from http://www.visualstudio.com/en-au/news/vs2015-preview-vs
  error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
  ----------------------------------------
  ERROR: Failed building wheel for psutil
    ERROR: Command errored out with exit status 1:
     command: 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"'; __file__='"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Timothy\AppData\Local\Temp\pip-record-8nuv1ain\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\include\site\python3.9\psutil'
         cwd: C:\Users\Timothy\AppData\Local\Temp\pip-install-fg6oaha2\psutil\
    Complete output (39 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.9
    creating build\lib.win-amd64-3.9\psutil
    copying psutil\_common.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_compat.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_psaix.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_psbsd.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_pslinux.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_psosx.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_psposix.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_pssunos.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_pswindows.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\__init__.py -> build\lib.win-amd64-3.9\psutil
    creating build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\runner.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_aix.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_bsd.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_connections.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_contracts.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_linux.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_memleaks.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_misc.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_osx.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_posix.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_process.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_sunos.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_system.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_testutils.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_unicode.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_windows.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\__init__.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\__main__.py -> build\lib.win-amd64-3.9\psutil\tests
    running build_ext
    building 'psutil._psutil_windows' extension
    VisualStudio is not installed; get it from http://www.visualstudio.com/en-au/news/vs2015-preview-vs
    error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"'; __file__='"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Timothy\AppData\Local\Temp\pip-record-8nuv1ain\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\include\site\python3.9\psutil' Check the logs for full command output.
WARNING: You are using pip version 20.2.3; however, version 20.3.1 is available.
You should consider upgrading via the 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe -m pip install --upgrade pip' command.
Command failed: "c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe" -m pip install -r "c:\Users\Timothy\.vscode\extensions\espressif.esp-idf-extension-0.5.1\esp_debug_adapter\requirements.txt"
  ERROR: Command errored out with exit status 1:
   command: 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"'; __file__='"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Timothy\AppData\Local\Temp\pip-wheel-7l5e02m3'
       cwd: C:\Users\Timothy\AppData\Local\Temp\pip-install-fg6oaha2\psutil\
  Complete output (39 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.9
  creating build\lib.win-amd64-3.9\psutil
  copying psutil\_common.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_compat.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_psaix.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_psbsd.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_pslinux.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_psosx.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_psposix.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_pssunos.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\_pswindows.py -> build\lib.win-amd64-3.9\psutil
  copying psutil\__init__.py -> build\lib.win-amd64-3.9\psutil
  creating build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\runner.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_aix.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_bsd.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_connections.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_contracts.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_linux.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_memleaks.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_misc.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_osx.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_posix.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_process.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_sunos.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_system.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_testutils.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_unicode.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\test_windows.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\__init__.py -> build\lib.win-amd64-3.9\psutil\tests
  copying psutil\tests\__main__.py -> build\lib.win-amd64-3.9\psutil\tests
  running build_ext
  building 'psutil._psutil_windows' extension
  VisualStudio is not installed; get it from http://www.visualstudio.com/en-au/news/vs2015-preview-vs
  error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
  ----------------------------------------
  ERROR: Failed building wheel for psutil
    ERROR: Command errored out with exit status 1:
     command: 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"'; __file__='"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Timothy\AppData\Local\Temp\pip-record-8nuv1ain\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\include\site\python3.9\psutil'
         cwd: C:\Users\Timothy\AppData\Local\Temp\pip-install-fg6oaha2\psutil\
    Complete output (39 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.9
    creating build\lib.win-amd64-3.9\psutil
    copying psutil\_common.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_compat.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_psaix.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_psbsd.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_pslinux.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_psosx.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_psposix.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_pssunos.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\_pswindows.py -> build\lib.win-amd64-3.9\psutil
    copying psutil\__init__.py -> build\lib.win-amd64-3.9\psutil
    creating build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\runner.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_aix.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_bsd.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_connections.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_contracts.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_linux.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_memleaks.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_misc.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_osx.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_posix.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_process.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_sunos.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_system.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_testutils.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_unicode.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\test_windows.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\__init__.py -> build\lib.win-amd64-3.9\psutil\tests
    copying psutil\tests\__main__.py -> build\lib.win-amd64-3.9\psutil\tests
    running build_ext
    building 'psutil._psutil_windows' extension
    VisualStudio is not installed; get it from http://www.visualstudio.com/en-au/news/vs2015-preview-vs
    error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"'; __file__='"'"'C:\\Users\\Timothy\\AppData\\Local\\Temp\\pip-install-fg6oaha2\\psutil\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Timothy\AppData\Local\Temp\pip-record-8nuv1ain\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\include\site\python3.9\psutil' Check the logs for full command output.
WARNING: You are using pip version 20.2.3; however, version 20.3.1 is available.
You should consider upgrading via the 'c:\Users\Timothy\esp-idf\python_env\idf4.1_py3.9_env\Scripts\python.exe -m pip install --upgrade pip' command.


The following paths should be added to env PATH
c:\Python\espressif\python_env\idf4.0_py3.6_env\Scripts;C:\Users\Timothy\AppData\Local\Programs\Python\Python39;c:\Users\Timothy\esp-idf\tools\xtensa-esp32-elf\esp-2020r2-8.2.0\xtensa-esp32-elf\bin;c:\Users\Timothy\esp-idf\tools\xtensa-esp32s2-elf\esp-2020r2-8.2.0\xtensa-esp32s2-elf\bin;c:\Users\Timothy\esp-idf\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin;c:\Users\Timothy\esp-idf\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin;c:\Users\Timothy\esp-idf\tools\cmake\3.13.4\bin;c:\Users\Timothy\esp-idf\tools\openocd-esp32\v0.10.0-esp32-20191114\openocd-esp32\bin;c:\Users\Timothy\esp-idf\tools\ninja\1.9.0;c:\Users\Timothy\esp-idf\tools\idf-exe\1.0.1;c:\Users\Timothy\esp-idf\tools\ccache\3.7
I am not sure what to do next. Thanks for any help.

Timm

ESP_bignacio
Posts: 229
Joined: Wed May 02, 2018 12:12 pm

Re: VS Code IDF Onboarding (IDF Tools Install Error)

Postby ESP_bignacio » Tue Dec 15, 2020 11:03 am

Exploring a bit the error log, I've noticed this:

Code: Select all

VisualStudio is not installed; get it from http://www.visualstudio.com/en-au/news/vs2015-preview-vs
    error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
    
Have you tried installing this Windows dependency first ?

Who is online

Users browsing this forum: No registered users and 56 guests