From 12d66319e5d179b07cf5bd60a4c8fdc06b422f12 Mon Sep 17 00:00:00 2001 From: Patsagorn Date: Sun, 24 Mar 2024 22:39:42 +0700 Subject: [PATCH] Update python/bootstrap_venv.sh script*** --- python/bootstrap_venv.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python/bootstrap_venv.sh b/python/bootstrap_venv.sh index f68948d..e36950a 100644 --- a/python/bootstrap_venv.sh +++ b/python/bootstrap_venv.sh @@ -3,11 +3,13 @@ # use bash strict mode # set -euo pipefail || exit 1 +rm -rf pyvenv + # create the venv -python3 -m venv ~/pyvenv +python3 -m venv pyvenv # activate it -source ~/pyvenv/bin/activate +source pyvenv/bin/activate # upgrade pip inside the venv and add support for the wheel package format pip install -U pip wheel