From 41d5478c1b4b1b635b12eccc9a0360d1180ac1ec Mon Sep 17 00:00:00 2001 From: Elad Kalif <45845474+eladkal@users.noreply.github.com> Date: Tue, 2 Jul 2024 13:28:05 +0300 Subject: [PATCH 1/2] Update Breeze docs to handle bad interpreter error --- dev/breeze/doc/01_installation.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev/breeze/doc/01_installation.rst b/dev/breeze/doc/01_installation.rst index 6ff68d2bb6455..ab90c86613664 100644 --- a/dev/breeze/doc/01_installation.rst +++ b/dev/breeze/doc/01_installation.rst @@ -455,6 +455,15 @@ Breeze on POSIX-compliant systems (Linux, MacOS) can be automatically installed ``breeze`` with it and setting up autocomplete. +Troubleshooting +--------------- + +If you are experiencing bad interpreter errors +``zsh: /Users/eladkal/.local/bin/breeze: bad interpreter: /Users/eladkal/.local/pipx/venvs/apache-airflow-breeze/bin/python: no such file or directory`` + +try to run ``pipx list`` to view which packages has bad interpreter (it can be more than just breeze, for example pre-commit) +you can fix these errors by running ``pipx reinstall-all`` + Uninstalling Breeze ------------------- From 9c16c669a0f2d6462979a4d5f653a79ff98577f9 Mon Sep 17 00:00:00 2001 From: Elad Kalif <45845474+eladkal@users.noreply.github.com> Date: Tue, 2 Jul 2024 13:58:24 +0300 Subject: [PATCH 2/2] move to troubleshooting --- dev/breeze/doc/01_installation.rst | 9 --------- dev/breeze/doc/04_troubleshooting.rst | 8 ++++++++ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/dev/breeze/doc/01_installation.rst b/dev/breeze/doc/01_installation.rst index ab90c86613664..6ff68d2bb6455 100644 --- a/dev/breeze/doc/01_installation.rst +++ b/dev/breeze/doc/01_installation.rst @@ -455,15 +455,6 @@ Breeze on POSIX-compliant systems (Linux, MacOS) can be automatically installed ``breeze`` with it and setting up autocomplete. -Troubleshooting ---------------- - -If you are experiencing bad interpreter errors -``zsh: /Users/eladkal/.local/bin/breeze: bad interpreter: /Users/eladkal/.local/pipx/venvs/apache-airflow-breeze/bin/python: no such file or directory`` - -try to run ``pipx list`` to view which packages has bad interpreter (it can be more than just breeze, for example pre-commit) -you can fix these errors by running ``pipx reinstall-all`` - Uninstalling Breeze ------------------- diff --git a/dev/breeze/doc/04_troubleshooting.rst b/dev/breeze/doc/04_troubleshooting.rst index 7bc7a52dee5a5..fd0b1dfa401dc 100644 --- a/dev/breeze/doc/04_troubleshooting.rst +++ b/dev/breeze/doc/04_troubleshooting.rst @@ -72,6 +72,14 @@ describe your problem. stated in `This comment `_ and allows to run Breeze with no problems. +Bad Interpreter Error +--------------------- + +If you are experiencing bad interpreter errors +``zsh: /Users/eladkal/.local/bin/breeze: bad interpreter: /Users/eladkal/.local/pipx/venvs/apache-airflow-breeze/bin/python: no such file or directory`` + +try to run ``pipx list`` to view which packages has bad interpreter (it can be more than just breeze, for example pre-commit) +you can fix these errors by running ``pipx reinstall-all`` ETIMEDOUT Error --------------