ESP-IDF 工具安装器 安装过程出错

caipch
Posts: 1
Joined: Fri Oct 26, 2018 10:22 am

ESP-IDF 工具安装器 安装过程出错

Postby caipch » Thu Nov 21, 2019 11:27 am

你好,我在使用 [url]https://docs.espressif.com/projects/esp ... 。请问这是什么原因呢,有什么方式可以解决吗?

问题二:使用install.bat 和 export.bat 命令安装的话,是否每次打开cmd.exe 都需要重新执行这两个脚本,而不是设定好相关环境,后续一直可以使用?


出错部分 Log:

2019-11-21 19:14:31.838 --------
2019-11-21 19:14:31.843 Installing Python environment:C:\Users\JoeCai\AppData\Local\Programs\Python\Python37\python.exe E:\esp\esp-idf\tools\idf_tools.py install-python-env
2019-11-21 19:14:54.651 Done, exit code=1
2019-11-21 19:14:54.651 --------
2019-11-21 19:14:54.651 Running command: C:\Users\JoeCai\AppData\Local\Programs\Python\Python37\python.exe E:\esp\esp-idf\tools\idf_tools.py install-python-env
Using base prefix 'C:\\Users\\JoeCai\\AppData\\Local\\Programs\\Python\\Python37'
New python executable in C:\Users\JoeCai\.espressif\python_env\idf4.1_py3.7_env\Scripts\python.exe
Installing setuptools, pip, wheel...
done.
Processing \\${idf_path}\tools\kconfig_new\esp-windows-curses
ERROR: Could not install packages due to an EnvironmentError: [Errno 22] Invalid argument: '\\\\${IDF_PATH}\\tools\\kconfig_new\\esp-windows-curses'

Creating a new Python environment in C:\Users\JoeCai\.espressif\python_env\idf4.1_py3.7_env
Installing Python packages from E:\esp\esp-idf\requirements.txt
Traceback (most recent call last):
File "E:\esp\esp-idf\tools\idf_tools.py", line 1349, in <module>
main(sys.argv[1:])
File "E:\esp\esp-idf\tools\idf_tools.py", line 1345, in main
action_func(args)
File "E:\esp\esp-idf\tools\idf_tools.py", line 1163, in action_install_python_env
subprocess.check_call(run_args, stdout=sys.stdout, stderr=sys.stderr)
File "C:\Users\JoeCai\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Users\\JoeCai\\.espressif\\python_env\\idf4.1_py3.7_env\\Scripts\\python.exe', '-m', 'pip', 'install', '--no-warn-script-location', '-r', 'E:\\esp\\esp-idf\\requirements.txt']' returned non-zero exit status 1.
Attachments
Setup Log 2019-11-21 #005.txt
(31.52 KiB) Downloaded 844 times

wangshujun@tom.com
Posts: 3
Joined: Mon Nov 25, 2019 3:46 am

Re: ESP-IDF 工具安装器 安装过程出错

Postby wangshujun@tom.com » Mon Nov 25, 2019 4:30 am

遇到同样问题,昨天测试的是2.0的安装工具,今天看到升级到2.1了,也不行
卡在
Running command: powershell -ExecutionPolicy ByPass -File "C:\Users\xxxxxx\.espressif\dist\tools_WD_excl.ps1" -AddExclPath "C:\Users\xxxxxx\.espressif\*.exe"
一直不过

环境是
win7 64位
python 3.73
git 2.1
esp-idf3.3

Who is online

Users browsing this forum: No registered users and 44 guests