From c5e9067d59c29c57542dac5d931280aafe7e9427 Mon Sep 17 00:00:00 2001 From: mcbloch Date: Tue, 19 Apr 2022 20:19:23 +0200 Subject: [PATCH] use module instead of installed bin --- first-setup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/first-setup.sh b/first-setup.sh index 954b32e..68eb601 100755 --- a/first-setup.sh +++ b/first-setup.sh @@ -12,8 +12,7 @@ E="${normal}" if [ ! -d "venv" ]; then PYTHON_VERSION=$(cat .python-version) echo -e "${B} No venv found, creating a new one with version ${PYTHON_VERSION} ${E}" - pip install virtualenv - virtualenv -p $PYTHON_VERSION venv + python3 -m virtualenv -p $PYTHON_VERSION venv fi source venv/bin/activate