Hello, you should use the terminal window that gets setup upon installation of the framework.
Once you open the esp-idf-terminal all of the paths needed in order to run the IDF.py and such commands are added to the session and you can utilise all of the python scripts, at your disposal