I am trying to set up the ESP-IDF. getting the following Traceback while setting esp-idf.
Detecting the Python interpreter
Checking "python" ...
Python 3.9.12
"python" has been detected
Installing ESP-IDF tools
Selected targets are: esp32s3, esp32c3, esp32, esp32s2
Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, xtensa-esp32s3-elf, riscv32-esp-elf, esp32ulp-elf, esp32s2ulp-elf, openocd-esp32
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 openocd-esp32@v0.11.0-esp32-20211220 (already installed)
Installing Python environment and packages
Creating a new Python environment in /home/vivekmachchhar/.espressif/python_env/idf4.4_py3.9_env
Installing virtualenv
/usr/bin/python: No module named pip
Traceback (most recent call last):
File "/home/vivekmachchhar/esp4.4/verycon-sw/SDK/nbgwframework/platform/esp32/tools/idf_tools.py", line 1518, in action_install_python_env
import virtualenv # noqa: F401
ModuleNotFoundError: No module named 'virtualenv'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/vivekmachchhar/esp4.4/verycon-sw/SDK/nbgwframework/platform/esp32/tools/idf_tools.py", line 1828, in <module>
main(sys.argv[1:])
File "/home/vivekmachchhar/esp4.4/verycon-sw/SDK/nbgwframework/platform/esp32/tools/idf_tools.py", line 1824, in main
action_func(args)
File "/home/vivekmachchhar/esp4.4/verycon-sw/SDK/nbgwframework/platform/esp32/tools/idf_tools.py", line 1521, in action_install_python_env
subprocess.check_call([sys.executable, '-m', 'pip', 'install', '--user', 'virtualenv'],
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'pip', 'install', '--user', 'virtualenv']' returned non-zero exit status 1.
problem setting up esp-idf
- ESP_Roland
- Posts: 265
- Joined: Tue Oct 09, 2018 10:28 am
Re: problem setting up esp-idf
Please follow the getting started guide: https://docs.espressif.com/projects/esp ... setup.html
You don't have everything installed. In particular at least the python3-pip packages is not installed.
You don't have everything installed. In particular at least the python3-pip packages is not installed.
Who is online
Users browsing this forum: No registered users and 99 guests