【已解决】求助!!!使用esp-idf-tools-setup-online安装master版本从来没有成功过!!!
【已解决】求助!!!使用esp-idf-tools-setup-online安装master版本从来没有成功过!!!
使用esp-idf-tools-setup-online安装master版本从来没有成功过!!!
无论是使不使用VPN,勾不勾选使用镜像下载都没有安装成功过,总是安装一般就失败,我---崩溃了。
而且是除了最新版的release版本,其他分支版本也都是无法安装成功。
各位友,有什么好招。
或者有安装好的给我打包一份我本地安装。
Last edited by dodo55 on Wed Dec 15, 2021 7:10 am, edited 1 time in total.
Re: 求助!!!使用esp-idf-tools-setup-online安装master版本从来没有成功过!!!
你好,安装失败的一般问题是因为网络原因,最近可能服务器问题,使用 VPN 也可能安装失败,你这边可以提供下安装失败时候的 log 或者截图吗
Re: 求助!!!使用esp-idf-tools-setup-online安装master版本从来没有成功过!!!
我通过依照码云上
https://gitee.com/EspressifSystems/esp-gitee-tools
这个安装方法可以非常顺利的安装任何版本,而且是通过纯命令方式安装,
一开始安装了release/v4.4版本,安装完成后运行export.bat,
然后就出现: 确定后: 然后按照提示运行install.bat,还是提示同样的错误: 确定后
然后执行export.bat就重复上面的错误。
=====================
然后我用同样的方法接着安装v4.3.1版,安装玩执行export.bat就没有提示任何错误:
我发现v4.3.1使用的idf.py.exe的版本是1.0.1,
而release/v4.4使用的idf.py.exe的版本是1.0.2,
本人使用的环境是win10 64位专业版通过自带虚拟机Hyper-V安装win10 64位专业版,
安装win10系统后没有按照任何软件就直接安装esp-idf的
https://gitee.com/EspressifSystems/esp-gitee-tools
这个安装方法可以非常顺利的安装任何版本,而且是通过纯命令方式安装,
一开始安装了release/v4.4版本,安装完成后运行export.bat,
然后就出现: 确定后: 然后按照提示运行install.bat,还是提示同样的错误: 确定后
Code: Select all
Microsoft Windows [版本 10.0.19044.1288]
(c) Microsoft Corporation。保留所有权利。
D:\Espressif\esp-idf_v4.4>export.bat
Setting IDF_PATH: D:\Espressif\esp-idf_v4.4
Adding ESP-IDF tools to PATH...
WARNING: tool idf-exe version 1.0.2 is installed, but returned non-zero exit code (3221225595) with error message:
ERROR: tool idf-exe has no installed versions. Please run 'D:\Espressif\esp-idf_v4.4\install.bat' to install it.
D:\Espressif\esp-idf_v4.4>install.bat
Installing ESP-IDF tools
Selected targets are: esp32, esp32s2, esp32c3, esp32s3
Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, xtensa-esp32s3-elf, riscv32-esp-elf, esp32ulp-elf, esp32s2ulp-elf, cmake, openocd-esp32, ninja, idf-exe, ccache, dfu-util
Skipping xtensa-esp32-elf@esp-2021r2-8.4.0 (already installed)
Skipping xtensa-esp32s2-elf@esp-2021r2-8.4.0 (already installed)
Skipping xtensa-esp32s3-elf@esp-2021r2-8.4.0 (already installed)
Skipping riscv32-esp-elf@esp-2021r2-8.4.0 (already installed)
Skipping esp32ulp-elf@2.28.51-esp-20191205 (already installed)
Skipping esp32s2ulp-elf@2.28.51-esp-20191205 (already installed)
Skipping cmake@3.20.3 (already installed)
Skipping openocd-esp32@v0.10.0-esp32-20211111 (already installed)
Skipping ninja@1.10.2 (already installed)
WARNING: tool idf-exe version 1.0.2 is installed, but returned non-zero exit code (3221225595) with error message:
Installing idf-exe@1.0.2
file idf-exe-v1.0.2.zip is already downloaded
WARNING: destination path already exists, removing
Extracting C:\Users\Dodo-V\.espressif\dist\idf-exe-v1.0.2.zip to C:\Users\Dodo-V\.espressif\tools\idf-exe\1.0.2
Skipping ccache@4.3 (already installed)
Skipping dfu-util@0.9 (already installed)
Setting up Python environment
Python 3.8.7
pip 21.3.1 from C:\Users\Dodo-V\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages\pip (python 3.8)
Installing Python packages from D:\Espressif\esp-idf_v4.4\requirements.txt
Looking in indexes: http://mirrors.aliyun.com/pypi/simple, https://dl.espressif.com/pypi
Processing d:\espressif\esp-idf_v4.4\tools\kconfig_new\esp-windows-curses
Preparing metadata (setup.py) ... done
Requirement already satisfied: setuptools>=21 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r D:\Espressif\esp-idf_v4.4\requirements.txt (line 4)) (58.3.0)
Requirement already satisfied: click>=7.0 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r D:\Espressif\esp-idf_v4.4\requirements.txt (line 8)) (8.0.3)
Requirement already satisfied: pyserial>=3.3 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r D:\Espressif\esp-idf_v4.4\requirements.txt (line 9)) (3.5)
Requirement already satisfied: future>=0.15.2 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r D:\Espressif\esp-idf_v4.4\requirements.txt (line 10)) (0.18.2)
Requirement already satisfied: cryptography>=2.1.4 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r D:\Espressif\esp-idf_v4.4\requirements.txt (line 12)) (36.0.0)
Requirement already satisfied: pyparsing<2.4.0,>=2.0.3 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r D:\Espressif\esp-idf_v4.4\requirements.txt (line 18)) (2.3.1)
Requirement already satisfied: pyelftools>=0.22 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r D:\Espressif\esp-idf_v4.4\requirements.txt (line 19)) (0.27)
Requirement already satisfied: idf-component-manager>=0.2.99-beta in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r D:\Espressif\esp-idf_v4.4\requirements.txt (line 20)) (0.3.2b0)
Requirement already satisfied: gdbgui==0.13.2.0 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r D:\Espressif\esp-idf_v4.4\requirements.txt (line 22)) (0.13.2.0)
Requirement already satisfied: pygdbmi<=0.9.0.2 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r D:\Espressif\esp-idf_v4.4\requirements.txt (line 25)) (0.9.0.2)
Requirement already satisfied: python-socketio<5 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r D:\Espressif\esp-idf_v4.4\requirements.txt (line 28)) (4.6.1)
Requirement already satisfied: kconfiglib==13.7.1 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r D:\Espressif\esp-idf_v4.4\requirements.txt (line 30)) (13.7.1)
Requirement already satisfied: reedsolo<=1.5.4,>=1.5.3 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r D:\Espressif\esp-idf_v4.4\requirements.txt (line 33)) (1.5.4)
Requirement already satisfied: bitstring>=3.1.6 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r D:\Espressif\esp-idf_v4.4\requirements.txt (line 34)) (3.1.9)
Requirement already satisfied: ecdsa>=0.16.0 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r D:\Espressif\esp-idf_v4.4\requirements.txt (line 35)) (0.17.0)
Requirement already satisfied: construct==2.10.54 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r D:\Espressif\esp-idf_v4.4\requirements.txt (line 39)) (2.10.54)
Requirement already satisfied: gevent<2.0,>=1.2.2 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from gdbgui==0.13.2.0->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 22)) (1.5.0)
Requirement already satisfied: Flask-SocketIO<3.0,>=2.9 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from gdbgui==0.13.2.0->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 22)) (2.9.6)
Requirement already satisfied: Flask-Compress<2.0,>=1.4.0 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from gdbgui==0.13.2.0->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 22)) (1.10.1)
Requirement already satisfied: Pygments<3.0,>=2.2.0 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from gdbgui==0.13.2.0->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 22)) (2.10.0)
Requirement already satisfied: Flask<1.0,>=0.12.2 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from gdbgui==0.13.2.0->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 22)) (0.12.5)
Requirement already satisfied: colorama in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from click>=7.0->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 8)) (0.4.4)
Requirement already satisfied: cffi>=1.12 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from cryptography>=2.1.4->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 12)) (1.15.0)
Requirement already satisfied: tqdm in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager>=0.2.99-beta->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 20)) (4.62.3)
Requirement already satisfied: requests-toolbelt in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager>=0.2.99-beta->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 20)) (0.9.1)
Requirement already satisfied: requests in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager>=0.2.99-beta->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 20)) (2.26.0)
Requirement already satisfied: six in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager>=0.2.99-beta->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 20)) (1.16.0)
Requirement already satisfied: schema in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager>=0.2.99-beta->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 20)) (0.7.5)
Requirement already satisfied: pyyaml in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager>=0.2.99-beta->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 20)) (6.0)
Requirement already satisfied: semantic-version>="2.8" in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager>=0.2.99-beta->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 20)) (2.8.5)
Requirement already satisfied: python-engineio<4,>=3.13.0 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from python-socketio<5->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 28)) (3.14.2)
Requirement already satisfied: windows-curses in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from esp-windows-curses==0.1->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 45)) (2.3.0)
Requirement already satisfied: pycparser in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from cffi>=1.12->cryptography>=2.1.4->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 12)) (2.21)
Requirement already satisfied: itsdangerous>=0.21 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from Flask<1.0,>=0.12.2->gdbgui==0.13.2.0->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 22)) (2.0.1)
Requirement already satisfied: Jinja2>=2.4 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from Flask<1.0,>=0.12.2->gdbgui==0.13.2.0->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 22)) (3.0.3)
Requirement already satisfied: Werkzeug<1.0,>=0.7 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from Flask<1.0,>=0.12.2->gdbgui==0.13.2.0->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 22)) (0.16.1)
Requirement already satisfied: brotli in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from Flask-Compress<2.0,>=1.4.0->gdbgui==0.13.2.0->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 22)) (1.0.9)
Requirement already satisfied: greenlet>=0.4.14 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from gevent<2.0,>=1.2.2->gdbgui==0.13.2.0->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 22)) (1.1.2)
Requirement already satisfied: idna<4,>=2.5 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from requests->idf-component-manager>=0.2.99-beta->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 20)) (3.3)
Requirement already satisfied: charset-normalizer~=2.0.0 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from requests->idf-component-manager>=0.2.99-beta->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 20)) (2.0.9)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from requests->idf-component-manager>=0.2.99-beta->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 20)) (1.26.7)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from requests->idf-component-manager>=0.2.99-beta->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 20)) (2021.10.8)
Requirement already satisfied: contextlib2>=0.5.5 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from schema->idf-component-manager>=0.2.99-beta->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 20)) (21.6.0)
Requirement already satisfied: MarkupSafe>=2.0 in c:\users\dodo-v\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from Jinja2>=2.4->Flask<1.0,>=0.12.2->gdbgui==0.13.2.0->-r D:\Espressif\esp-idf_v4.4\requirements.txt (line 22)) (2.0.1)
Building wheels for collected packages: esp-windows-curses
Building wheel for esp-windows-curses (setup.py) ... done
Created wheel for esp-windows-curses: filename=esp_windows_curses-0.1-py3-none-any.whl size=1170 sha256=dc953baa37118dfa9cdad9fb7edaa1c30d582c27654b0ab34735feb43aede181
Stored in directory: c:\users\dodo-v\appdata\local\pip\cache\wheels\a9\ec\fd\964d574054b5e4ebe163ff5588fba51816667d163c5b877cba
Successfully built esp-windows-curses
Installing collected packages: esp-windows-curses
Attempting uninstall: esp-windows-curses
Found existing installation: esp-windows-curses 0.1
Uninstalling esp-windows-curses-0.1:
Successfully uninstalled esp-windows-curses-0.1
Successfully installed esp-windows-curses-0.1
All done! You can now run:
export.bat
D:\Espressif\esp-idf_v4.4>
=====================
然后我用同样的方法接着安装v4.3.1版,安装玩执行export.bat就没有提示任何错误:
Code: Select all
Microsoft Windows [版本 10.0.19044.1288]
(c) Microsoft Corporation。保留所有权利。
D:\Espressif\esp-idf_v4.3.1>export.bat
Setting IDF_PATH: D:\Espressif\esp-idf_v4.3.1
Adding ESP-IDF tools to PATH...
C:\Users\Dodo-V\.espressif\tools\xtensa-esp32-elf\esp-2021r1-8.4.0\xtensa-esp32-elf\bin
C:\Users\Dodo-V\.espressif\tools\xtensa-esp32s2-elf\esp-2021r1-8.4.0\xtensa-esp32s2-elf\bin
C:\Users\Dodo-V\.espressif\tools\xtensa-esp32s3-elf\esp-2021r1-8.4.0\xtensa-esp32s3-elf\bin
C:\Users\Dodo-V\.espressif\tools\riscv32-esp-elf\esp-2021r1-8.4.0\riscv32-esp-elf\bin
C:\Users\Dodo-V\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\Users\Dodo-V\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\Users\Dodo-V\.espressif\tools\cmake\3.16.4\bin
C:\Users\Dodo-V\.espressif\tools\openocd-esp32\v0.10.0-esp32-20210401\openocd-esp32\bin
C:\Users\Dodo-V\.espressif\tools\ninja\1.10.2\
C:\Users\Dodo-V\.espressif\tools\idf-exe\1.0.1\
C:\Users\Dodo-V\.espressif\tools\ccache\3.7\
C:\Users\Dodo-V\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
C:\Users\Dodo-V\.espressif\python_env\idf4.3_py3.8_env\Scripts
D:\Espressif\esp-idf_v4.3.1\tools
Checking if Python packages are up to date...
Python requirements from D:\Espressif\esp-idf_v4.3.1\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
D:\Espressif\esp-idf_v4.3.1>
而release/v4.4使用的idf.py.exe的版本是1.0.2,
本人使用的环境是win10 64位专业版通过自带虚拟机Hyper-V安装win10 64位专业版,
安装win10系统后没有按照任何软件就直接安装esp-idf的
Re: 求助!!!使用esp-idf-tools-setup-online安装master版本从来没有成功过!!!
大多是访问 Github 不正常导致的问题,目前最新安装工具已经解决
Windows 环境安装工具选择推荐:
* 如需最新发布版本 v4.3.1, v4.2.2, 请使用离线安装工具(Offline installer):https://dl.espressif.com/dl/esp-idf/
* 如需安装 release/v4.2, release/v4.3, release/v4.4, master 分支,或历史发布版本如 v4.2.1 (注意历史版本不再推荐安装,请安装 bugfix 版本,例如最新已有 v4.2.2) 请使用在线安装工具(Online installer):https://github.com/espressif/idf-instal ... eta-01.exe
* 中国国内用户使用在线安装工具时,请在“选择组件”中勾选 “使用 Espressif 镜像代替 Github” 和 “Git mirror gitee.com” 和 "Get depth -1
Windows 环境安装工具选择推荐:
* 如需最新发布版本 v4.3.1, v4.2.2, 请使用离线安装工具(Offline installer):https://dl.espressif.com/dl/esp-idf/
* 如需安装 release/v4.2, release/v4.3, release/v4.4, master 分支,或历史发布版本如 v4.2.1 (注意历史版本不再推荐安装,请安装 bugfix 版本,例如最新已有 v4.2.2) 请使用在线安装工具(Online installer):https://github.com/espressif/idf-instal ... eta-01.exe
* 中国国内用户使用在线安装工具时,请在“选择组件”中勾选 “使用 Espressif 镜像代替 Github” 和 “Git mirror gitee.com” 和 "Get depth -1
Re: 求助!!!使用esp-idf-tools-setup-online安装master版本从来没有成功过!!!
好用,灰常好用,终于挖到宝了!fan183579 wrote: ↑Tue Dec 14, 2021 12:33 amhttps://blog.csdn.net/qq_30708009/artic ... .3001.5501 可以试试这个方法,我之前就参照这个安装成功的
Re: 求助!!!使用esp-idf-tools-setup-online安装master版本从来没有成功过!!!
来得有点迟了呀,我都捣鼓了多少个日日夜夜晚晚好不容易弄出来,然后才出来!ESP_Bob wrote: ↑Tue Dec 14, 2021 12:30 pm大多是访问 Github 不正常导致的问题,目前最新安装工具已经解决
Windows 环境安装工具选择推荐:
* 如需最新发布版本 v4.3.1, v4.2.2, 请使用离线安装工具(Offline installer):https://dl.espressif.com/dl/esp-idf/
* 如需安装 release/v4.2, release/v4.3, release/v4.4, master 分支,或历史发布版本如 v4.2.1 (注意历史版本不再推荐安装,请安装 bugfix 版本,例如最新已有 v4.2.2) 请使用在线安装工具(Online installer):https://github.com/espressif/idf-instal ... eta-01.exe
* 中国国内用户使用在线安装工具时,请在“选择组件”中勾选 “使用 Espressif 镜像代替 Github” 和 “Git mirror gitee.com” 和 "Get depth -1
image.png
Who is online
Users browsing this forum: No registered users and 63 guests