在VSCODE下装esp-idf开发环境的问题,能否给一个正确的安装指导?
Posted: Tue Jan 11, 2022 8:37 am
ESP32-S3开发板,如何能在VSCODE下安装好开发环境并正常使用,在哪儿能找到一个正确的方法或者是指导?到底是ESP-IDF V4.4还是哪个版本,在安装过程中时常出现下载不了的问题,即使下载好后安装正常了但编译又不正常,真想放弃了。
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.
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