From 713586ca3c61cdf9522f9dee0a34d18402d68a28 Mon Sep 17 00:00:00 2001 From: zhuqi-lucas <821684824@qq.com> Date: Fri, 3 Jan 2025 17:50:45 +0800 Subject: [PATCH] Make sure venv version support falsa --- benchmarks/bench.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/benchmarks/bench.sh b/benchmarks/bench.sh index 881d540638f9..65d396fadb12 100755 --- a/benchmarks/bench.sh +++ b/benchmarks/bench.sh @@ -593,11 +593,8 @@ data_h2o() { # Set virtual environment directory VIRTUAL_ENV="${PWD}/venv" - # Check if the virtual environment already exists - if [ ! -d "$VIRTUAL_ENV" ]; then - # Create a virtual environment using Python 3.10 - $REQUIRED_PYTHON -m venv "$VIRTUAL_ENV" - fi + # Create a virtual environment using Python 3.10 + $REQUIRED_PYTHON -m venv "$VIRTUAL_ENV" # Activate the virtual environment and install dependencies source "$VIRTUAL_ENV/bin/activate"