diff -up ./script/build-shell-completions.sh.orig ./script/build-shell-completions.sh --- ./script/build-shell-completions.sh.orig 2022-11-14 14:36:23.000000000 +0100 +++ ./script/build-shell-completions.sh 2022-11-17 22:18:16.298216762 +0100 @@ -13,14 +13,14 @@ declare -A COMPLETIONS=( ) for dep in "${PYTHON_DEPS[@]}"; do - python -c "import ${dep}" 2>&1 >/dev/null \ + python3 -c "import ${dep}" 2>&1 >/dev/null \ || { echo >&2 "${dep} could not be found in your python environment"; exit 1; } done for shell in "${!COMPLETIONS[@]}"; do mkdir -p "${DIST}/${shell}" dist="${DIST}/${shell}/${COMPLETIONS[${shell}]}" - python -m shtab \ + python3 -m shtab \ "--shell=${shell}" \ --error-unimportable \ streamlink_cli.main.parser_helper \