diff --git a/export.fish b/export.fish index 755aacf0d1..8944c598ad 100644 --- a/export.fish +++ b/export.fish @@ -47,7 +47,7 @@ function __main set -x PATH "$IDF_ADD_PATHS_EXTRAS":"$PATH" echo "Checking if Python packages are up to date..." - python "$IDF_PATH"/tools/idf_tools.py check-python-dependencies || return 1 + "$ESP_PYTHON" "$IDF_PATH"/tools/idf_tools.py check-python-dependencies || return 1 set added_path_variables for entry in $PATH; diff --git a/export.sh b/export.sh index 9eefa41549..259b1b965a 100644 --- a/export.sh +++ b/export.sh @@ -134,9 +134,8 @@ __main() { eval "${idf_exports}" export PATH="${IDF_ADD_PATHS_EXTRAS}:${PATH}" - __verbose "Using Python interpreter in $(which python)" __verbose "Checking if Python packages are up to date..." - python "${IDF_PATH}/tools/idf_tools.py" check-python-dependencies || return 1 + "$ESP_PYTHON" "${IDF_PATH}/tools/idf_tools.py" check-python-dependencies || return 1 if [ -n "$BASH" ] then