在esp-idf目录执行 ./install.sh 时出现以下报错:
Collecting MarkupSafe>=0.23
Using cached MarkupSafe-1.1.1-cp27-cp27m-macosx_10_6_intel.whl (17 kB)
ERROR: Could not find a version that satisfies the requirement bidict>=0.21.0 (from python-socketio>=1.6.1->Flask-SocketIO<3.0,>=2.9->gdbgui==0.13.2.0->-r /Users/apple/esp32_official/src/esp-idf/requirements.txt (line 14)) (from versions: 0.1.5, 0.2.1, 0.3.0, 0.3.1, 0.9.0rc0, 0.9.0.post1, 0.10.0, 0.10.0.post1, 0.11.0, 0.12.0.post1, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.14.2, 0.15.0.dev0, 0.15.0.dev1, 0.15.0rc1, 0.15.0, 0.16.0, 0.17.0, 0.17.1, 0.17.2, 0.17.3, 0.17.4, 0.17.5, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.18.4)
ERROR: No matching distribution found for bidict>=0.21.0 (from python-socketio>=1.6.1->Flask-SocketIO<3.0,>=2.9->gdbgui==0.13.2.0->-r /Users/apple/esp32_official/src/esp-idf/requirements.txt (line 14))
Traceback (most recent call last):
File "/Users/apple/esp32_official/src/esp-idf/tools/idf_tools.py", line 1589, in <module>
main(sys.argv[1:])
File "/Users/apple/esp32_official/src/esp-idf/tools/idf_tools.py", line 1585, in main
action_func(args)
File "/Users/apple/esp32_official/src/esp-idf/tools/idf_tools.py", line 1312, in action_install_python_env
subprocess.check_call(run_args, stdout=sys.stdout, stderr=sys.stderr)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Users/apple/.espressif/python_env/idf4.3_py2.7_env/bin/python', '-m', 'pip', 'install', '--no-warn-script-location', '-r', '/Users/apple/esp32_official/src/esp-idf/requirements.txt']' returned non-zero exit status 1
appledeMBP:esp-idf Snow$ /Users/apple/.espressif/python_env/idf4.3_py2.7_env/bin/python
安装esp-idf环境时报错
安装esp-idf环境时报错
- Attachments
-
- QQ20201212-221116@2x.png (571.95 KiB) Viewed 5040 times
-
- QQ20201212-220754@2x.png (524.37 KiB) Viewed 5040 times
-
- Posts: 3
- Joined: Fri Dec 25, 2020 3:59 pm
Re: 安装esp-idf环境时报错
我也是遇到这样的问题,就一个开发环境为什么整得这么难
-
- Posts: 12
- Joined: Fri Dec 25, 2020 11:06 am
Re: 安装esp-idf环境时报错
Hi @snow999,
请点击这个链接 https://docs.espressif.com/projects/esp ... as-default
查看如何将 python3 设置为默认 python。
请点击这个链接 https://docs.espressif.com/projects/esp ... as-default
查看如何将 python3 设置为默认 python。
Who is online
Users browsing this forum: No registered users and 80 guests