idf.py: command not found on hello_world example
Posted: Thu Aug 22, 2019 12:31 pm
Im trying to get started with esp-idf and follow the instructions out of https://docs.espressif.com/projects/esp ... t-started/ on Ubuntu 18.04. I stuck at 2 points:
first point:
and the second point where i stuck is at:
i already upgraded the pip but still get the error, what i have to do to continue?
first point:
I cant find this directory.The toolchain will be extracted into ~/esp/xtensa-esp32-elf/ directory.
To use it, you will need to update your PATH environment variable in ~/.profile file. To make xtensa-esp32-elf available for all terminal sessions, add the following line to your ~/.profile file:
export PATH="$HOME/esp/xtensa-esp32-elf/bin:$PATH"
and the second point where i stuck is at:
I tried also with version number how the documentation says but i get the error message:Python packages required by ESP-IDF are located in the $IDF_PATH/requirements.txt file. You can install them by running:
python -m pip install --user -r $IDF_PATH/requirements.txt
Code: Select all
ERROR: Could not open requirements file: [Errno 2] No such file or directory: '/requirements.txt'