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.
This commit is contained in:
@@ -83,7 +83,7 @@ msg_ok "Configured ERPNext"
|
|||||||
|
|
||||||
msg_info "Setting up Production"
|
msg_info "Setting up Production"
|
||||||
BENCH_VENV="/home/frappe/.local/share/uv/tools/frappe-bench"
|
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 "${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 bash -c 'export PATH="/home/frappe/.local/bin:$PATH"; cd /opt/frappe-bench && bench setup production frappe --yes'
|
||||||
$STD systemctl enable --now supervisor
|
$STD systemctl enable --now supervisor
|
||||||
|
|||||||
Reference in New Issue
Block a user