From 61b8d3e088c0ee1ab1376db3b077fd8c1fe8b7e3 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 25 Mar 2026 15:54:39 +0100 Subject: [PATCH] fix(erpnext): use get-pip.py instead of ensurepip uv's bundled Python has ensurepip stripped out. Bootstrap pip via get-pip.py from pypa instead. --- install/erpnext-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/erpnext-install.sh b/install/erpnext-install.sh index 994a7f42..4f9b7f78 100644 --- a/install/erpnext-install.sh +++ b/install/erpnext-install.sh @@ -83,7 +83,7 @@ msg_ok "Configured ERPNext" msg_info "Setting up Production" BENCH_VENV="/home/frappe/.local/share/uv/tools/frappe-bench" -$STD "${BENCH_VENV}/bin/python" -m ensurepip +$STD curl -fsSL https://bootstrap.pypa.io/get-pip.py | "${BENCH_VENV}/bin/python" $STD "${BENCH_VENV}/bin/python" -m pip install ansible $STD bash -c 'export PATH="/home/frappe/.local/bin:$PATH"; cd /opt/frappe-bench && bench setup production frappe --yes' $STD systemctl enable --now supervisor