idf.py: command not found on hello_world example

Vasili97
Posts: 6
Joined: Thu Aug 15, 2019 8:46 am

idf.py: command not found on hello_world example

Postby Vasili97 » 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:
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"
I cant find this directory.

and the second point where i stuck is at:
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
I tried also with version number how the documentation says but i get the error message:

Code: Select all

ERROR: Could not open requirements file: [Errno 2] No such file or directory: '/requirements.txt'
i already upgraded the pip but still get the error, what i have to do to continue?

Who is online

Users browsing this forum: Slinisa and 118 guests