Failed to install tools on Windows (VSC-757)
See original GitHub issueI’m on Windows 11 Preview, not sure if maybe that’s the issue, but I cannot get the virtualenv created using the include idf-python
version (3.8.7). I get an error stating that it’s missing a DLLs
folder.
Is there a way to use my systems Python version instead? I am able to create a virtualenv with it from a terminal.
Using existing Toolchain for Xtensa (ESP32-S2) based on GCC in C:\Users\User\.espressif\tools\xtensa-esp32s2-elf\esp-2021r1-8.4.0
Using existing Toolchain for Xtensa (ESP32-S3) based on GCC in C:\Users\User\.espressif\tools\xtensa-esp32s3-elf\esp-2021r1-8.4.0
Using existing Toolchain for 32-bit RISC-V based on GCC in C:\Users\User\.espressif\tools\riscv32-esp-elf\esp-2021r1-8.4.0
Using existing Toolchain for ESP32 ULP coprocessor in C:\Users\User\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205
Using existing Toolchain for ESP32-S2 and ESP32-S3 ULP coprocessors in C:\Users\User\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205
Using existing CMake build system in C:\Users\User\.espressif\tools\cmake\3.20.3
Using existing OpenOCD for ESP32 in C:\Users\User\.espressif\tools\openocd-esp32\v0.10.0-esp32-20210902
Using existing Ninja build system in C:\Users\User\.espressif\tools\ninja\1.10.2
Using existing IDF wrapper tool for Windows in C:\Users\User\.espressif\tools\idf-exe\1.0.1
Using existing Ccache (compiler cache) in C:\Users\User\.espressif\tools\ccache\4.3
Using existing dfu-util (Device Firmware Upgrade Utilities) in C:\Users\User\.espressif\tools\dfu-util\0.9
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\.espressif\\tools\\idf-python\\3.8.7\\DLLs'
Creating a new Python environment in C:\Users\User\.espressif\python_env\idf4.4_py3.8_env
Traceback (most recent call last):
File "C:\Users\User\esp-idf\tools\idf_tools.py", line 1817, in <module>
main(sys.argv[1:])
File "C:\Users\User\esp-idf\tools\idf_tools.py", line 1813, in main
action_func(args)
File "C:\Users\User\esp-idf\tools\idf_tools.py", line 1517, in action_install_python_env
subprocess.check_call([sys.executable, '-m', 'virtualenv', idf_python_env_path],
File "subprocess.py", line 364, in check_call
subprocess.CalledProcessError: Command '['C:\\Users\\User\\.espressif\\tools\\idf-python\\3.8.7\\python.exe', '-m', 'virtualenv', 'C:\\Users\\User\\.espressif\\python_env\\idf4.4_py3.8_env']' returned non-zero exit status 1.
Command failed: C:\Users\User\.espressif\tools\idf-python\3.8.7\python.exe C:\Users\User\esp-idf\tools\idf_tools.py install-python-env
Traceback (most recent call last):
File "C:\Users\User\esp-idf\tools\idf_tools.py", line 1817, in <module>
main(sys.argv[1:])
File "C:\Users\User\esp-idf\tools\idf_tools.py", line 1813, in main
action_func(args)
File "C:\Users\User\esp-idf\tools\idf_tools.py", line 1517, in action_install_python_env
subprocess.check_call([sys.executable, '-m', 'virtualenv', idf_python_env_path],
File "subprocess.py", line 364, in check_call
subprocess.CalledProcessError: Command '['C:\\Users\\User\\.espressif\\tools\\idf-python\\3.8.7\\python.exe', '-m', 'virtualenv', 'C:\\Users\\User\\.espressif\\python_env\\idf4.4_py3.8_env']' returned non-zero exit status 1.
Command failed: C:\Users\User\.espressif\tools\idf-python\3.8.7\python.exe C:\Users\User\esp-idf\tools\idf_tools.py install-python-env
Traceback (most recent call last):
File "C:\Users\User\esp-idf\tools\idf_tools.py", line 1817, in <module>
main(sys.argv[1:])
File "C:\Users\User\esp-idf\tools\idf_tools.py", line 1813, in main
action_func(args)
File "C:\Users\User\esp-idf\tools\idf_tools.py", line 1517, in action_install_python_env
subprocess.check_call([sys.executable, '-m', 'virtualenv', idf_python_env_path],
File "subprocess.py", line 364, in check_call
subprocess.CalledProcessError: Command '['C:\\Users\\User\\.espressif\\tools\\idf-python\\3.8.7\\python.exe', '-m', 'virtualenv', 'C:\\Users\\User\\.espressif\\python_env\\idf4.4_py3.8_env']' returned non-zero exit status 1.
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Fix problems that block programs from being installed or ...
The Program Install and Uninstall troubleshooter helps you automatically repair issues when you're blocked from installing or removing programs.
Read more >How to troubleshoot Windows Installer errors - Microsoft Support
Describes how to troubleshoot problems that occur when you install, uninstall, or upgrade a program on a Windows-based computer by using Windows Installer....
Read more >Get help with Windows upgrade and installation errors
See some of the most common upgrade and installation errors for Windows 10 and Windows 11, and what you can do to try...
Read more >Power Automate Desktop installation troubleshooting
The install fails because the Power Automate Windows service failed to start, and the event viewer logs show that the reason it could...
Read more >Trouble installing the plug-in? - Microsoft Support
Plug-in download fails · Click Tools > Internet Options. · Click the Security tab > Custom Level. · Scroll down to Downloads and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I ended up making the virtualenv manually with my systems Python. Then when the extension was trying to create it, I just hit cancel (it was confused and just sitting there spinning, lol) and it went to the completed page. It works now.
Cool, thanks. I’d rather use my version
On Thu, Oct 14, 2021, 8:57 AM Juraj Michálek @.***> wrote: