在VSCODE下装esp-idf开发环境的问题,能否给一个正确的安装指导?
在VSCODE下装esp-idf开发环境的问题,能否给一个正确的安装指导?
ESP32-S3开发板,如何能在VSCODE下安装好开发环境并正常使用,在哪儿能找到一个正确的方法或者是指导?到底是ESP-IDF V4.4还是哪个版本,在安装过程中时常出现下载不了的问题,即使下载好后安装正常了但编译又不正常,真想放弃了。
-
- Posts: 13
- Joined: Thu Jan 13, 2022 3:24 am
-
- Posts: 2
- Joined: Tue Jan 18, 2022 1:09 am
Re: 在VSCODE下装esp-idf开发环境的问题,能否给一个正确的安装指导?
我这边mac系统也是安装不了
1、mac版本是12.1
2、pip 21.3.1 from /usr/local/lib/python3.8/site-packages/pip (python 3.8)
3、Warning: cmake 3.18.4 is already installed and up-to-date
To reinstall 3.18.4, run `brew reinstall cmake`
Warning: ninja 1.10.1_2 is already installed and up-to-date
To reinstall 1.10.1_2, run `brew reinstall ninja`
Warning: dfu-util 0.9 is already installed and up-to-date
To reinstall 0.9, run `brew reinstall dfu-util`
4、ccache 4.0 is already installed and up-to-date
用vscode,安装的是ESP_IDF插件,选取Espressif服务器,选择的版本是4.4-rc1 的时候报错,信息如下:
idf_versions.txt progress: 100.00% (0.11 / 0.11) KB
Downloading ESP-IDF v4.4-rc1 (release version)...
File download response error: Failed web connection with error code: 404
https://dl.espressif.com/dl/esp-idf/rel ... .4-rc1.zip
Failed download. Retrying...
Error: Error: HTTP/HTTPS Response Error
Waiting 8 seconds...
File download response error: Failed web connection with error code: 404
https://dl.espressif.com/dl/esp-idf/rel ... .4-rc1.zip
Failed download. Retrying...
Error: Error: HTTP/HTTPS Response Error
Waiting 16 seconds...
File download response error: Failed web connection with error code: 404
https://dl.espressif.com/dl/esp-idf/rel ... .4-rc1.zip
Failed download. Retrying...
Error: Error: HTTP/HTTPS Response Error
Downloaded v4.4-rc1 (release version). Extracting...
1、mac版本是12.1
2、pip 21.3.1 from /usr/local/lib/python3.8/site-packages/pip (python 3.8)
3、Warning: cmake 3.18.4 is already installed and up-to-date
To reinstall 3.18.4, run `brew reinstall cmake`
Warning: ninja 1.10.1_2 is already installed and up-to-date
To reinstall 1.10.1_2, run `brew reinstall ninja`
Warning: dfu-util 0.9 is already installed and up-to-date
To reinstall 0.9, run `brew reinstall dfu-util`
4、ccache 4.0 is already installed and up-to-date
用vscode,安装的是ESP_IDF插件,选取Espressif服务器,选择的版本是4.4-rc1 的时候报错,信息如下:
idf_versions.txt progress: 100.00% (0.11 / 0.11) KB
Downloading ESP-IDF v4.4-rc1 (release version)...
File download response error: Failed web connection with error code: 404
https://dl.espressif.com/dl/esp-idf/rel ... .4-rc1.zip
Failed download. Retrying...
Error: Error: HTTP/HTTPS Response Error
Waiting 8 seconds...
File download response error: Failed web connection with error code: 404
https://dl.espressif.com/dl/esp-idf/rel ... .4-rc1.zip
Failed download. Retrying...
Error: Error: HTTP/HTTPS Response Error
Waiting 16 seconds...
File download response error: Failed web connection with error code: 404
https://dl.espressif.com/dl/esp-idf/rel ... .4-rc1.zip
Failed download. Retrying...
Error: Error: HTTP/HTTPS Response Error
Downloaded v4.4-rc1 (release version). Extracting...
有兄弟能解决一下不,官方能不能给个vscode的安装指导
自己已经在各种地方解决了一些问题了,但是还是卡在了这个地方。快了,已经重新试了好多遍了
Code: Select all
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1125)'))': /pypi/click/
ERROR: Could not find a version that satisfies the requirement click>=7.0
ERROR: No matching distribution found for click>=7.0
WARNING: You are using pip version 20.3.3; however, version 21.3.1 is available.
You should consider upgrading via the 'C:\Users\dengs\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe -m pip install --upgrade pip' command.
Traceback (most recent call last):
File "C:\Users\dengs\esp\esp-idf\tools\idf_tools.py", line 1828, in <module>
main(sys.argv[1:])
File "C:\Users\dengs\esp\esp-idf\tools\idf_tools.py", line 1824, in main
action_func(args)
File "C:\Users\dengs\esp\esp-idf\tools\idf_tools.py", line 1545, in action_install_python_env
subprocess.check_call(run_args, stdout=sys.stdout, stderr=sys.stderr, env=env_copy)
File "subprocess.py", line 364, in check_call
subprocess.CalledProcessError: Command '['C:\\Users\\dengs\\.espressif\\python_env\\idf4.4_py3.8_env\\Scripts\\python.exe', '-m', 'pip', 'install', '--no-warn-script-location', '-r', 'C:\\Users\\dengs\\esp\\esp-idf\\requirements.txt', '--extra-index-url', 'https://dl.espressif.com/pypi']' returned non-zero exit status 1.
Re: 在VSCODE下装esp-idf开发环境的问题,能否给一个正确的安装指导?
安装没有问题,是网络的问题,如果有魔法,将不存在这个问题,或许你可以使用
之后再按照快速入门手册(https://docs.espressif.com/projects/esp ... ml#esp-idf)中流程,使用命令行完成所有安装
Code: Select all
git config --global url."https://gitclone.com/github.com".insteadOf https://github.com
cd C:\Users\71492\esp
git clone -b v4.4 --recursive https://github.com/espressif/esp-idf.git
Who is online
Users browsing this forum: No registered users and 211 guests