diff --git a/install.sh b/install.sh index ac8326c..e47d5ba 100755 --- a/install.sh +++ b/install.sh @@ -103,7 +103,7 @@ download_and_extract() { setup_venv() { info "Setting up Python virtual environment..." - if [[ ! -d "$INSTALL_DIR/venv" ]]; then + if [[ ! -d "$INSTALL_DIR/venv" ]] || [[ ! -f "$INSTALL_DIR/venv/bin/pip" ]]; then python3 -m venv "$INSTALL_DIR/venv" || die "Failed to create venv" else warn "venv already exists - skipping creation"