From b15261e533d0b1fe60ee7073419e95183629a32c Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Fri, 3 Mar 2023 18:19:03 +0100 Subject: using python3/pip3 --- install.sh | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index f4d77f3..7b4e187 100755 --- a/install.sh +++ b/install.sh @@ -1,14 +1,9 @@ #!/bin/bash -if [ -n "$(which pip3)" ]; then - pip3 install openai - exit 0 +if [ -z "$(which pip3)" ]; then + echo pip3 not found + exit 1 fi -if [ -n "$(which pip)" ]; then - pip install openai - exit 0 -fi - -echo missing pip3 or pip -exit 1 +echo installing deps using pip3 +pip3 install openai -- cgit v1.2.3